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?
In reply to Re^2: RegEx Headaches
by oryx3
in thread RegEx Headaches
by oryx3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |