Thank you for excellent suggestions. I will explore and try them.

I am wondering is it possible to single NFA/DFA from set of regular 
expressions (similar to aho-corasick which does for fixed strings) which 
can determine matched regexps with single pass on the input. Especially if 
regular expressions include following meta characters only.

.              any character
.*             any string including empty string
[xyz]          character class
[^xyz]         negated character class


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to