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 **
- splitting strings with quoted white space Peter Cornelius
- Re: splitting strings with quoted white space Chas Owens
- Re: splitting strings with quoted white space Ondrej Par
- Re: splitting strings with quoted white space Randal L. Schwartz
- Re: splitting strings with quoted white s... Jeff 'japhy' Pinyan
- Re: splitting strings with quoted whi... Randal L. Schwartz
- Re: splitting strings with quote... Jeff 'japhy' Pinyan
- Re: splitting strings with quoted white s... Ondrej Par
- Re: splitting strings with quoted whi... Randal L. Schwartz
- Re: splitting strings with quote... Randal L. Schwartz
- RE: splitting strings with quote... Accountant Bob
- RE: splitting strings with q... Jeff 'japhy' Pinyan
- Re: splitting strings wi... Ondrej Par
- Re: splitting strings wi... Jeff 'japhy' Pinyan
- RE: splitting strings wi... Accountant Bob