Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: How to remove a carriage return (\r\n)

by rev_1318 (Chaplain)
on Nov 02, 2005 at 12:45 UTC ( [id://504903]=note: print w/replies, xml ) Need Help??


in reply to Re: How to remove a carriage return (\r\n)
in thread How to remove a carriage return (\r\n)

if ( m/(\r\n|\n\r|\r|\n)$1/ ) {
You mean
if ( m/(\r\n|\n\r|\r|\n)\1/ ) {
Backreferences inside the RE are notated as \1, \2, etc.

Paul

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-24 07:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found