Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: regex incorrectly matching newline

by ioannis (Prior)
on Jun 23, 2006 at 18:50 UTC ( #557290=note: print w/replies, xml ) Need Help??

in reply to regex incorrectly matching newline

The regex is not matching the "\n", it succeeds by matching the 'h' of "hello\nthere". Furthermore, even if you make the \n as the first character of $i, by setting $i = "\nthere", the regex will continue to succeed because it will matches the 't'.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://557290]
[hippo]: Marketing should not be allowed near such utilities.
[Corion]: I should tell them about the "dim+lock all monitors to show the immediate alert centered" feature of that software so they can announce the next intranet website feature even better ;)
[Eily]: This sounds like the perfect medium to send "don't let anything distract you"
[LanX]: hippo you asked about translating Asterix ?

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (14)
As of 2017-05-24 14:49 GMT
Find Nodes?
    Voting Booth?