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

I tried doing the same in JavaScript/JSX a small while back: https://medium.com/@bluepnume/writing-regex-in-jsx-without-r...

Building regexes programmatically does seem to take a lot of the pain out of it.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: