Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://161180]
help
Chatterbox?
[choroba]: bit vectors as keys?
[robby_dobby]: Hmm, I keep falling asleep at my desk, while maintaining an active appearance. Am I getting old?
[robby_dobby]: Every time I fall asleep, there's a small guy in the dreams, shouting "Whoo!" and it jolts me awake. :/
[Lady_Aleena]: robby_dobby, at least you aren't driving. I seem to always be driving somewhere in my dreams and end up at a weird house.
[robby_dobby]: LA: That's there. But this is work and it's the same thing as falling asleep driving :-)
[Lady_Aleena]: I love the dream where I was at a huge house and decided to go swimming in the pool, but then the tour group showed up.

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2017-05-29 08:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?