Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: regular expressions

by Laurent_R (Canon)
on Jun 07, 2015 at 18:43 UTC ( [id://1129365]=note: print w/replies, xml ) Need Help??


in reply to Re^3: regular expressions
in thread regular expressions

I agree with you, doubly-negated character classes can be tricky but can also be very useful. I was really reacting to the patterns proposed by Anonymous Monk and by toolic which were just not quite right.

Replies are listed 'Best First'.
Re^5: regular expressions
by Anonymous Monk on Jun 07, 2015 at 19:03 UTC

    If a digit is not a vowel - is it a consonant? Unclear spec - hehehe. Easy fix:

    [^\WaeiouyAEIOUY0-9_]

    It's a valid solution if it passes the test cases. What? There were no test cases? Nevermind :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-19 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found