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

There are numerous ways to fix the glaring flaws in this analysis but a very simple approach would be using regex word boundaries, that way it'll work not only for the space but for commas, periods, end-of-line, etc.



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

Search: