Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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)

Comment on Re: Re: Re: replacing /n
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2015-11-30 01:16 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (755 votes), past polls