I often see [0-9] which is used in .NET regular expression replies in Stack instead of \d . I asked why, and the answer is usually " \d matches not only [0-9] ". So what else does this mean? This table indicates that it corresponds to decimal digits. What about \p{Nd} ?
Or is there no difference, and is it just good practice because of some other regular expression mechanism?
source share