Closed GoogleCodeExporter closed 9 years ago
Matcher is not a valid solution. Consider the following regex: (\dA)|0. If we
use
Matchers then the result DFA is no longer a DFA.
Original comment by lemontree.cool
on 2 Oct 2008 at 9:26
What about make the RegexTokenizer expand the specail characters into
alternatives?
like: \d --> (0|1|2|3...8|9). But there would be a performance impact for this
solution.
Original comment by lemontree.cool
on 2 Oct 2008 at 9:33
Original comment by lemontree.cool
on 3 Oct 2008 at 4:07
Original issue reported on code.google.com by
lemontree.cool
on 2 Oct 2008 at 3:44