http://qs321.pair.com?node_id=402650


in reply to With Unicode, \d is wrong if you mean [0-9]
in thread Regex help

I'd say it depends on what you mean with "breaks".
Your code will still match [0-9] as you are used to, but will also match other characters defined as "digits" in other "scripts". If you depend on a "Latin" digit elsewhere in the code, I think you may have undesired side effects.

--
Olivier
  • Comment on Re: With Unicode, \d is wrong if you mean [0-9]