LiteralPattern

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

A pattern matching literally, without any wildcards.

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 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

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