Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
oweiler
on July 29, 2014
|
parent
|
context
|
favorite
| on:
Sculpting text with regex, grep, sed, awk, emacs a...
And depending on the context makes them wrong. \d is not equivalent to [0-9].
shmerl
on July 29, 2014
[–]
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: