From: Eric Hodel Date: 2011-08-11T00:38:20+09:00 Subject: Re: Is \d supposed to match Unicode Numbers? --Apple-Mail-2--323968153 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On Aug 9, 2011, at 16:25, Markus Fischer wrote: > Hmm, I almost always refer to > https://github.com/ruby/ruby/blob/trunk/doc/re.rdoc for the regex doc > and therein it's pretty accurate: > > [...] > * /\d/ - A digit character ([0-9]) > [...] > For instance, /\d/ matches only the ASCII decimal digits (0-9); whereas > /[[:digit:]]/ matches any character in the Unicode Nd category > [...] This same content is found in: ri Regexp --Apple-Mail-2--323968153--