[Omaha.pm] Fwd: weird perl bug
Dan Linder
dan at linder.org
Thu Nov 18 20:20:44 PST 2010
Andy Lester wrote:
> The first statement matches, and leaves the internal matching pointer
pointing
> after the first match, which means at the end of the first string. Then,
the second
> match tries to pick up at the same place, because of the /g flag.
The "/g" flag carries across multiple matching calls/lines?
Learn something new every day... Thanks!
Dan
--
***************** ************* *********** ******* ***** *** **
"Quis custodiet ipsos custodes?"
(Who can watch the watchmen?)
-- from the Satires of Juvenal
"I do not fear computers, I fear the lack of them."
-- Isaac Asimov (Author)
** *** ***** ******* *********** ************* *****************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/omaha-pm/attachments/20101118/c252cee2/attachment.html>
More information about the Omaha-pm
mailing list