public final class PatternFactory
extends de.unkrig.ref4j.PatternFactory
Pattern.| Modifier and Type | Field and Description |
|---|---|
static PatternFactory |
INSTANCE
The singleton
PatternFactory that implements the LFR regex engine. |
| Modifier and Type | Method and Description |
|---|---|
Pattern |
compile(String regex) |
Pattern |
compile(String regex,
int flags) |
int |
getSupportedFlags() |
static int |
literalHexadecimal(String s) |
boolean |
matches(String regex,
CharSequence input) |
public static final PatternFactory INSTANCE
PatternFactory that implements the LFR regex engine.public int getSupportedFlags()
getSupportedFlags in class de.unkrig.ref4j.PatternFactorypublic Pattern compile(String regex) throws PatternSyntaxException
compile in class de.unkrig.ref4j.PatternFactoryPatternSyntaxExceptionPattern.compile(String)public Pattern compile(String regex, int flags) throws PatternSyntaxException
compile in class de.unkrig.ref4j.PatternFactoryPatternSyntaxExceptionPattern.compile(String, int)public boolean matches(String regex, CharSequence input)
matches in class de.unkrig.ref4j.PatternFactoryPattern.matches(String, CharSequence)public static int literalHexadecimal(String s) throws de.unkrig.commons.text.parser.ParseException
TokenType#LITERAL_HEXADECIMAL tokende.unkrig.commons.text.parser.ParseExceptionCopyright © 2017 Arno Unkrig. All rights reserved.