Files
2026-10-04 04:07:15 +00:00

6 lines
265 B
Plaintext

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".