Hacker News new | past | comments | ask | show | jobs | submit login

I just add `\v` (very magic) to make it interpret regex more strictly. I’ve just tested it and you don’t need to escape these anymore to match word boundaries.



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

Search: