Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^4: requesting small regex

by thundergnat (Deacon)
on May 07, 2012 at 19:10 UTC ( #969313=note: print w/ replies, xml ) Need Help??

in reply to Re^3: requesting small regex
in thread requesting small regex

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.


BTW the OP DID want to split on non-alphanumerics not just non-numerics. Ok, (s)he did say non-alphanomerics but... ;-)

Comment on Re^4: requesting small regex

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://969313]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-07-29 03:19 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (260 votes), past polls