in reply to Re^2: Regex triggering uninitialised values
in thread Regex triggering uninitialised values

Watch out! '+?' isn't the same as '*' in a regexp. If you want zero or more, you want '*'. '+?' will only match if there is one or more, but will match non-greedily (that is, as few characters as possible).

Replies are listed 'Best First'.
Re^4: Regex triggering uninitialised values
by kiat (Vicar) on Nov 19, 2004 at 18:06 UTC
    Ah, thanks!