3 ms·
Do you know if any major regex implementations use the adaptive approach you're suggesting?
by mwcampbell 11y ago
Do you know if any major regex implementations use the adaptive approach you're suggesting?
- pcwalton 11y agoI don't know of any that can actually switch during regex execution, but TRE at least will choose Thompson NFA if it can and fall back to recursive backtracking if backreferences are used.