From the Camel Book (4th Edition, page 271):
Alternate Engines
Starting with v5.10, you can even swap out Perl’s entire regex engine and replace it with an alternate pattern-matching library. The underlying mechanics that make this possible are documented in the perlreapi manpage. It’s pretty tough reading, meant for seriously hardcore hackers only.
But you may be in luck. Thanks to CPAN, Perl plug-ins for the alternate regex engine of your choice may already exist. When you use these, you write your patterns normally and, come time to execute them, the alternate engine takes charge.
To find the alternate regex engines available on CPAN, search within the re::engine:: namespace.
Hope that helps,
| [reply] [d/l] |
It is not in CORE but the re::engine::RE2 module implements a DFA based RE-engine.Alas, I couldn't get it to install on my Windows8 machine.
CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James My blog: Imperial Deltronics
| [reply] |