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

Don’t forget to look out for matches at the boundaries of the original string. I think it should be something like:

    (^|.)Tarzan(.|$)
Though I’m not 100% sure offhand what the result in the capturing groups would be.


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

Search: