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

Re: regex to find vowels in anyorder

by eyepopslikeamosquito (Canon)
on Dec 19, 2011 at 21:01 UTC ( #944303=note: print w/ replies, xml ) Need Help??


in reply to regex to find vowels in anyorder

This one can be easily solved without using a regex. For example, here is a one-liner featuring the good ol' tr (aka y) operator, punctuated with just a few & characters (sorry couldn't resist):

perl -ne 'y&a&&&&y&e&&&&y&i&&&&y&o&&&&y&u&&&&print' words.txt


Comment on Re: regex to find vowels in anyorder
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2014-07-31 22:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (254 votes), past polls