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

Re: Re: Re: replacing /n

by tradez (Pilgrim)
on Mar 23, 2002 at 14:21 UTC ( #153782=note: print w/replies, xml ) Need Help??

in reply to Re: Re: replacing /n
in thread replacing /n

Actually, and correct me if I am wrong on this, but I believe the \n matches \r carriage returns as well as just simple newlines in perl 5. Could be wrong, but I think I am not :).

"Never underestimate the predicability of stupidity"
- Bullet Tooth Tony, Snatch (2001)

Replies are listed 'Best First'.
Re: Re: Re: Re: replacing /n
by dreadpiratepeter (Priest) on Mar 23, 2002 at 14:48 UTC
    I don't believe so, only because I just had to change a s/\n//g to a s/\r?\n//g in something I was developing. Although I could be wrong. I have not done any imperical tests and I don't claim to be an expert on the subject.
    Maybe one of the real experts can chime in with a definitive answer?

    "I am Jack's utter lack of disbelief"

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2018-05-26 09:03 GMT
Find Nodes?
    Voting Booth?