[PLUG] Regex condition match problem

Randal L. Schwartz merlyn at stonehenge.com
Tue Jun 29 14:06:02 UTC 2004


>>>>> "Colin" == Colin Kuskie <ckuskie at dalsemi.com> writes:

>> Also, PCRE is *not* Perl Compatible, in spite of the name.  So don't
>> confuse the two.

Colin> That's according to the maxim:

Colin> Only perl can parse Perl

Colin> right? (Hope I got the capitalization right)

Sort of.  Perl regex can include Perl code in the match (?{...}), so
unless PCRE embeds an entire Perl compiler, it cannot *ever* be
completely "perl compatible".

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <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!



More information about the PLUG mailing list