Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do you know if any major regex implementations use the adaptive approach you're suggesting?


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: