Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 scrutinizing the Monastery: (7)
As of 2014-09-19 06:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (132 votes), past polls