BracketPattern

com.github.arturopala.gitignore.Glob$.BracketPattern
final case class BracketPattern(pattern: String) extends Pattern with SingleCharacterPattern

A wildcard pattern matching either class or range of characters.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def matches(c: Char): Boolean

Attributes

Definition Classes

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
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

Inherited 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 from:
SingleCharacterPattern