but isn't this sort of obvious?
Well, this is the whole point. It could not be ovbious for everyone. What is not clearly explained is that qr// will unset the modifiers that we haven't explicitly set.
I didn't mean to rewrite the Bible :), but just to warn against something that may not be immediately perceived. The problem only exists when you embed a pre-compiled regex within a larger expression.
_ _ _ _ (_|| | |(_|>< _|
In reply to Re: Re: Risks in the oblivious use of qr//
by gmax
in thread Risks in the oblivious use of qr//
by gmax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |