>>>>> "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? :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to