in reply to Re: Regex an Array?
in thread Regex an Array?

It's important to note that \d can match characters other than the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9, which is probably not desireable.

Replies are listed 'Best First'.
Re^3: Regex an Array?
by revdiablo (Prior) on May 03, 2005 at 16:47 UTC
    \d can match characters other than the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9

    What other characters can it match?

      The Chinese character for 1, for example.

        That's locale-dependent, isn't it? Maybe that was your point, but is that such a bad thing? To me, it could almost be an unintended feature.

        I don't fault you for bringing up the point, but you did say it was "probably not disireable." I don't entirely agree with that. Thanks for the info, though.