I'm guessing that \P is 'not the named class';
Good guess
and that {Alnum} is alpha-numeric. Is theRE no \P{Numeric}?
Yes, but it is spelled \P{Digit}. perldoc perlre has details.
Note: I am replying more for the OPs benefit then yours. I am fully aware that you know about perldoc perlre, and are likely a far better perl programmer than I.
Cheers
BTW the OP DID want to split on non-alphanumerics not just non-numerics. Ok, (s)he did say non-alphanomerics but... ;-)
In reply to Re^4: requesting small regex
by thundergnat
in thread requesting small regex
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |