Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2016-10-24 21:38 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (310 votes). Check out past polls.