Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: notabug quiz (Spoiler for #3)

by Enlil (Parson)
on Dec 12, 2003 at 10:05 UTC ( #314265=note: print w/ replies, xml ) Need Help??


in reply to notabug quiz

$x="ad"; for ($x) { /a/gc; /\Gb?/gc; ok 3, /\Gc?/gc; }

This is documented behaviour in perlre: Repeated patterns matching zero length substrings.

update: added the part of the quiz i am referring to.

-enlil


Comment on Re: notabug quiz (Spoiler for #3)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-09-18 04:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (108 votes), past polls