9] in .NET regular expressions

This question already has an answer here:

  • d is less efficient than [0-9] 6 answers

  • I think the answer is also in the linked reference:

    d matches any decimal digit. It is equivalent to the p{Nd} regular expression pattern, which includes the standard decimal digits 0-9 as well as the decimal digits of a number of other character sets .

    So d can match things like decimal digits in the Arabic character set, which wouldn't be matched with [0-9] .

    链接地址: http://www.djcxy.com/p/86974.html

    上一篇: 这个正则表达式是什么意思?

    下一篇: 9]在.NET正则表达式中