in reply to Re: An adventure with 5.10 regular expressions
in thread An adventure with 5.10 regular expressions

Brilliant! I knew I was overlooking something simple (that doesn't mean obvious). My only criticism is that the regex should be $NPR = qr{...} ;)