blob: b8954346a4b066b5045782acd1ee59ce34352af0 (
plain) (
blame)
1
2
3
4
5
|
Regexp::Trie is a faster but simpler version of Regexp::Assemble or
Regexp::Optimizer. It builds a trie-ized regexp as above.
This module is faster than Regexp::Assemble but you can only add literals. a+b
is treated as a\+b, not "more than one a's followed by b".
|