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

Re: A challenging problem in perl regular expression

by Albannach (Prior)
on Jan 08, 2009 at 05:03 UTC ( #734806=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $_='JAZZxxJAZZJAZZxxJAZJAZZxxJAZZ';
    print $_,$/;
    s/(.*?)(JAZZ)/('a'x length $1) . $2/ge;
    print
    
  2. or download this
    JAZZxxJAZZJAZZxxJAZJAZZxxJAZZ
    JAZZaaJAZZJAZZaaaaaJAZZaaJAZZ
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://734806]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2017-03-22 22:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (276 votes). Check out past polls.