Pattern

com.github.arturopala.gitignore.Glob$.Pattern
sealed trait Pattern

A compiled representation of a glob pattern.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def 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

Concrete 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

Abstract 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