On Jun 6, Randal L. Schwartz said:

>>>>>> "Jeff" == Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> writes:
>
>Jeff> 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;
>
>Jeff> Randal, would you mind if I used this as an example of \G and /gc in my
>Jeff> regex book?  Due credit would be given, of course.
>
>Yeah, of course you can use it.  Did you mean that, and this, to go to
>the beginners list? :)

Yes.  I'd like to make any newcomers aware of the book, and I'd like any
input anyone else has one the regex.  Ondrej, I believe, just mentioned
the lack of backslash-support.

-- 
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