Maven module :un.api : api-common :
Class :
un.api.regex.Regex
Extends/Implements : -
Subclasses : -
Variables : -
Functions :
split,
replace,
compile,
compile,
compilePostfix,
toNFA,
toNFA,
toNFA,
postfixtoNFA
public Chars[]
split (Chars text, Chars exp)
public Chars
replace (Chars text, Chars exp, Chars replacement)
public RegexExec
compile (Chars exp)
public RegexExec
compile (Chars exp, Chars matchName)
public RegexExec
compilePostfix (Chars exp)
public NFAState
toNFA (Chars exp)
public NFAState
toNFA (Chars exp, Chars matchName)
public NFATemp
toNFA (CharIterator ite, boolean skipGroupEnd)
public NFAState
postfixtoNFA (Chars exp)
TODO DFA
there are plenty of docs on regex, those are just the most useful I found :
http://en.wikipedia.org/wiki/Thompson's_construction_algorithm
http://en.wikipedia.org/wiki/Nondeterministic_finite_automaton
http://swtch.com/~rsc/regexp/regexp1.html
@author Johann Sorel