Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: OptiPerls Pattern Replace (Regexpses for one Line)

by Ben Win Lue (Friar)
on Mar 02, 2005 at 10:45 UTC ( #435758=note: print w/ replies, xml ) Need Help??


in reply to Re: OptiPerls Pattern Replace (Regexpses for one Line)
in thread OptiPerls Pattern Replace (Regexpses for one Line)

Thanks a lot!

The /[^\n]*/ worked!
I always thought that the backslash would lose its metacharacter behaviour in the brackets, so I didn't get the idea.

The /.*/ did not work since I don't have a /s switch.


Comment on Re^2: OptiPerls Pattern Replace (Regexpses for one Line)
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (16)
As of 2015-07-29 10:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls