|
|
| No such thing as a small change | |
| PerlMonks |
Re: Re: Re: Using regexps to parse an XML DTD fileby merlyn (Sage) |
| on Nov 26, 2000 at 02:50 UTC ( [id://43343]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
A single regex cannot generate a variable number of backreferences. What do you think this is, Java? 1{grin}
-- Randal L. Schwartz, Perl hacker 1The Java regex library I saw caused /(\w+)\s+)+/ to generate a variable number of backreferences, making it impossible to know exactly what part of the match you were looking at. Evil. They just don't get it.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||