note
merlyn
A single regex cannot generate a variable number of backreferences. What do you think this is, Java? <sup>1</sup>{grin}
<p>
<p>-- <a href="http://www.stonehenge.com/merlyn/">Randal L. Schwartz, Perl hacker</a></p>
<sup>1</sup>The Java regex library I saw caused <code>/(\w+)\s+)+/</code>
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.
43334
43340