Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: regexp /gs oddity or bug

by straywalrus (Friar)
on Apr 22, 2002 at 23:39 UTC ( #161180=note: print w/ replies, xml ) Need Help??


in reply to regexp /gs oddity or bug

Just another data point: I run perl 5.6.0 on SlakWare 7.1.0 and the output I got from the script,

$_ = "is this odd or not?"; @a = /(.*? )/gs; print @a;
was: "is this odd or". nothing was beyond the or


Comment on Re: regexp /gs oddity or bug
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (16)
As of 2015-07-31 12:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (277 votes), past polls