in reply to Re^3: Recognizing numbers
in thread Recognizing numbers
Also, [0-9] can be simplified with a single \d.
In the old ASCII times: yes.
Today: No.
Unicode has more digits than [0-9]. You can limit the regular expression to match in ASCII mode using the /a or /aa options, this is documented in perlop.
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Recognizing numbers
by 1nickt (Canon) on Jul 29, 2015 at 02:41 UTC |