Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: need help to replace string in a line

by moritz (Cardinal)
on Nov 24, 2012 at 16:22 UTC ( #1005390=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    / nf\w* \h* = \h* \d+ /x
    #           ^ don't make the = optional
    ...
    
    / nf\w+ \h* = \h* \{ [^}]+ \}/
    #                    ^^^^ don't allow a closing bracket inside the bra
    +ckets
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-10-23 00:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (275 votes). Check out past polls.

    Notices?