@API(status=STABLE) @FunctionalInterface public interface PatternCompiler
Pattern. In some platforms and Java versions some flags are not supported (e.g Pattern.UNICODE_CHARACTER_CLASS on Android) - clients for those platforms should provide resource META-INF/services/io.cucumber.cucumberexpressions.PatternCompiler pointing to implementation of this interface.DefaultPatternCompiler,
ServiceLoader| Modifier and Type | Method and Description |
|---|---|
Pattern |
compile(String regexp,
int flags) |
Pattern compile(String regexp, int flags)
regexp - regular expressionflags - additional flags (e.g. Pattern.UNICODE_CHARACTER_CLASS)Pattern instance from provided regexpCopyright © 2019. All rights reserved.