Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: regexp /gs oddity or bug

by straywalrus (Friar)
on Apr 22, 2002 at 23:39 UTC ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-26 05:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found