Interface PatternCompiler

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@API(status=STABLE) @FunctionalInterface public interface PatternCompiler
Abstracts creation of new 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.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    compile(String regexp, int flags)