As you're doing regex matching, you could construct something around this feature:
From perlop:
m/PATTERN/cgimosx
(...)
If the PATTERN evaluates to the empty string, the last successfully matched regular expression is used instead.
I've seen rather experienced programmers having been bitten by this...
In reply to Re: I need a "non-trivial" bug for my script!
by almut
in thread I need a "non-trivial" bug for my script!
by Antigone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |