I think you (also) need to specify the regex options with the qr// - i.e. qr/$named_regex/ms - because in the case of using the precompiled regex in the subsequent match, options will be ignored (as in $line=~/$named_regex/oms).
In reply to Re: Weird bug with qr// and named capture buffers? Or just me?
by almut
in thread Weird bug with qr// and named capture buffers? Or just me?
by Latro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |