Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Regular Expression Builder

by belg4mit (Prior)
on Aug 31, 2002 at 01:39 UTC ( #194292=note: print w/ replies, xml ) Need Help??


in reply to Re: Regular Expression Builder
in thread Regular Expression Builder

Clever, but add the step (actually, merge it with the A9 -> metachar translation):

s%((?:\\w)+)%'\w{'. length($1)/2 .'}'%eg; ...

--
perl -pew "s/\b;([mnst])/'$1/g"


Comment on Re: Re: Regular Expression Builder
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2014-08-23 12:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (173 votes), past polls