Search Results
7/12/2025, 7:48:38 AM
>>105877758
>backreferences
nice to have, but bloat
>backtracking
bloat
Surely it would be better to default to the NFA engine until needing an DFA feature? This may be just how I use regex, attempting to find any specific match as fast as I can, but I don't see why DFA is the default. Things like backreferences are very useful when I need them, but I don't need them that often, and with the speed of the NFA model, greedy matching doesn't seem necessary.
What are the different purposes you mention?
>backreferences
nice to have, but bloat
>backtracking
bloat
Surely it would be better to default to the NFA engine until needing an DFA feature? This may be just how I use regex, attempting to find any specific match as fast as I can, but I don't see why DFA is the default. Things like backreferences are very useful when I need them, but I don't need them that often, and with the speed of the NFA model, greedy matching doesn't seem necessary.
What are the different purposes you mention?
Page 1