public class Pattern
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
FiniteAlphabet |
getAlphabet() |
java.lang.String |
getName()
return the String label associated with this pattern.
|
Matcher |
matcher(SymbolList sl)
Creates a matcher that will match the given input against this pattern.
|
java.lang.String |
patternAsString()
returns the Pattern to be matched as a String.
|
java.lang.String |
patternExpanded()
returns the actual String used to construct the regex with all
ambiguities expanded.
|
public java.lang.String getName()
public Matcher matcher(SymbolList sl)
sl
- SymbolList against which match is to be made.public java.lang.String patternAsString()
public java.lang.String patternExpanded()
public FiniteAlphabet getAlphabet()