Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

RE (tilly) 3: ^x* vs x*$

by tilly (Archbishop)
on Aug 20, 2000 at 06:16 UTC ( [id://28695]=note: print w/replies, xml ) Need Help??


in reply to RE: Re: ^x* vs x*$
in thread ^x* vs x*$

Very interesting. I can believe that happened.

Still looks to me like a bug.

perl -e '$str = "Hello World\n"; $str =~ s/\r?\n?$/\n/g; print $str;'
Where did the second return come from?

At the least after matching $ you should not match a zero-width assertion at that point again. IMHO and all that.

I will send that bug report in shortly.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-23 07:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found