SingleCharacterPattern

A type of pattern matching single character only.

A type of pattern matching single character only.

trait Pattern
class Object
trait Matchable
class Any

Value members

Abstract methods

def matches(c: Char): Boolean

Inherited methods

final def matcher(input: CharSequence): Matcher

Creates a matcher that will match the given input against this pattern.

Creates a matcher that will match the given input against this pattern.

Inherited from
Pattern

Concrete fields

override val minWidth: Int

Inherited fields

val pattern: String

Returns the regular expression from which this pattern was compiled.

Returns the regular expression from which this pattern was compiled.

Inherited from
Pattern