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

Re^8: This regexp made simpler

by rubasov (Friar)
on Apr 26, 2010 at 14:31 UTC ( #836922=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (<DATA>) {
      print;
    ...
    START ENDEND
    STARTSTARTENDEND
    STARTSTART ENDEND
    
  2. or download this
      s[ ^ (START) ( | \s (?:(?!END).)* ) (END) $ ]
       [ $1 . $2 . 'insert' . $3 ]ex;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2014-09-17 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (55 votes), past polls