in reply to Re: Regex failure interpretation
in thread Regex failure interpretation
Now I've seen the explanations, I agree, it is logical. That said, I still wish that captures were pushed to a global array (say @^N) rather than to $1 $2 etc.
If @^N contained the captures pushed in the order they were captured it would alleviate many of the games one has to play when capturing variable numbers of things.
(BTW. There are easier ways of correcting the regex:)
|
|---|