Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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 :).

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


Comment on Re: Re: Re: replacing /n
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?

    -pete
    "I am Jack's utter lack of disbelief"

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (16)
As of 2014-07-28 19:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (207 votes), past polls