- java.lang.Object
-
- org.jline.builtins.NfaMatcher<T>
-
public class NfaMatcher<T> extends Object
NFA implementation. See https://swtch.com/~rsc/regexp/regexp1.html
-
-
Constructor Summary
Constructors Constructor Description NfaMatcher(String regexp, BiFunction<T,String,Boolean> matcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
compile()
boolean
match(List<T> args)
Set<String>
matchPartial(List<T> args)
Returns the list of possible matcher names for the next object
-
-
-
Constructor Detail
-
NfaMatcher
public NfaMatcher(String regexp, BiFunction<T,String,Boolean> matcher)
-
-