News for hackers. Stuff that matters.
Re:\d less efficient than [0-9] by xonea on Monday May 20, 2013 @06:18PM (#5740486)
You have to tell to interpret stdin as UTF-8 (flag -C) - then it works: https://news.ycombinator.com/item?id=5734641
Re:\d less efficient than [0-9] by pfedor on Monday May 20, 2013 @10:06PM (#5741490)
Good to know, thanks.

I'd argue that perl gets it right--as the default behavior, this behavior would gravely violate the principle of least surprise, but for the 0.01% of people who want \d to match ੧, there's no harm to making it available as an option you need to specifically request.