<?xml version="1.0" encoding="windows-1252"?>
<node id="948502" title="Re^3: Perl Regex Repeating Patterns" created="2012-01-18 03:01:59" updated="2012-01-18 03:01:59">
<type id="11">
note</type>
<author id="5348">
Corion</author>
<data>
<field name="doctext">
&lt;p&gt;Putting a repeating quantifier after a capture simply does not do what you intend it to do, unless you only want to capture the last matched item in the repetition. And even then, it would be clearer in my opinion to explicitly state your assumption, by explicitly discarding the first repetitions:&lt;/p&gt;
&lt;c&gt;
/(?:[A-Z]{3})*([A-Z]{3})$/
&lt;/c&gt;</field>
<field name="root_node">
948417</field>
<field name="parent_node">
948423</field>
</data>
</node>
