4 ms·
> Do you know any engines that actually do this? As in, is it really standard? I don't know about choosing between multiple regex engines, but GNU grep and oth
by JoshTriplett 10y ago
> Do you know any engines that actually do this? As in, is it really standard?
I don't know about choosing between multiple regex engines, but GNU grep and other grep implementations check for non-regex fixed strings or trivial patterns, and have special cases for those.
- burntsushi 10y agoWell... yeah... I was more thinking about really big switches like between PCRE and a DFA. It looks like the sibling comment found one that I think qualifies based on the description (assuming "NFA" is used correctly :P).