public static interface ControlCharacters.ControlCharacterFactory
| Modifier and Type | Method and Description |
|---|---|
ControlCharacter |
createControlCharacter(String text,
Matcher matcher,
List<CharSequence> charactersSoFar)
Creates the control character from the given matched pattern.
|
Pattern |
getPattern() |
boolean |
patternMatchesBeginOfLine()
Indicates if the pattern should be applied to the begin of line only.
|
String |
unescape(String text)
Unescapes the pattern.
|
ControlCharacter createControlCharacter(String text, Matcher matcher, List<CharSequence> charactersSoFar)
text - the parsed text.matcher - the matcher.charactersSoFar - the characters created so far.Pattern getPattern()
boolean patternMatchesBeginOfLine()
true if the pattern is to be applied at the
begin of a line.Copyright © 2021. All rights reserved.