On Jun 6, Randal L. Schwartz said:

>my @elements;
>push @elements, $1 while
>  /\G\s*"(.*?)"/gc or
>  /\G\s*'(.*?)'/gc or
>  /\G\s*(\S+)/gc;

Randal, would you mind if I used this as an example of \G and /gc in my
regex book?  Due credit would be given, of course.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
I am Marillion, the wielder of Ringril, known as Hesinaur, the Winter-Sun.
Are you a Monk?  http://www.perlmonks.com/     http://forums.perlguru.com/
Perl Programmer at RiskMetrics Group, Inc.     http://www.riskmetrics.com/
Acacia Fraternity, Rensselaer Chapter.         Brother #734
**      Manning Publications, Co, is publishing my Perl Regex book      **

Reply via email to