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

Re^2: Lookahead assertion

by talexb (Canon)
on Oct 17, 2013 at 11:35 UTC ( #1058621=note: print w/replies, xml ) Need Help??


in reply to Re: Lookahead assertion
in thread Lookahead assertion

Thanks for your response -- I posted this problem last thing at night, then went to bed. When I woke up this morning, my mind returned to this problem, and I thought, "That's ridiculous -- could it be a mis-print?"

DB<6> @w3 = ( $foo =~ /(?=(\d{3}))/g ); DB<7> x @w3 0 123 1 234 2 345 3 456 4 567 5 679 6 790
Yep. A ':' where it should have been a '='. Guess I better check to see what other errata there are.

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1058621]
help
Chatterbox?
and God said, "Let Newton be!"...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2017-11-18 07:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?