http://qs1969.pair.com?node_id=1039828


in reply to Re: RegEx Headaches
in thread RegEx Headaches

Hmmm, interesting. Now I've got:

DB<23> x $_ 0 'ActionLogs.1.2.3.4.5.6.7.8.9.xml' DB<24> x /(\d+\.)/g 0 1. 1 2. 2 3. 3 4. 4 5. 5 6. 6 7. 7 8. 8 9.

but:

DB<25> x /(\d+\.)+/g 0 9.

Can anyone tell me why the quantifier makes it match only the last group?