blob: 02ceef1c84e2e5380edb7a964458ac963844cd86 (
plain)
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".
|