SingleCharacterPattern

com.github.arturopala.gitignore.Glob$.SingleCharacterPattern

A type of pattern matching single character only.

Attributes

Graph
Supertypes
trait Pattern
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

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.

Attributes

Inherited from:
Pattern

Concrete fields

override val minWidth: Int

A minimum width of the string to be considered a match for this pattern.

A minimum width of the string to be considered a match for this pattern.

Attributes

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.

Attributes

Inherited from:
Pattern