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

And depending on the context makes them wrong. \d is not equivalent to [0-9].


Not only if it uses different locales. Normally it is equal to [0-9]. Don't even start on Unicode and regexes.




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

Search: