... the "last successfully matched regular expression" means the "last successfully matched regular expression in this scope" ... I think it might be worth a documentation patch...
I've been looking for an explicit discussion of this. Best I can come up with, and it's very indirect, is in Variables related to regular expressions:
The dynamic nature of the regular expression variables means that their value is limited to the block that they are in ...I'm sure I've seen something better, more to the point. Not much time to look ATM.
Give a man a fish: <%-{-{-{-<
In reply to Re^4: Side effect of using undefined variable in regex
by AnomalousMonk
in thread Side effect of using undefined variable in regex
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |