Brilliant! I knew I was overlooking something simple (that doesn't mean obvious). My only criticism is that the regex should be $NPR = qr{...} ;)
In reply to Re^2: An adventure with 5.10 regular expressions
by hipowls
in thread An adventure with 5.10 regular expressions
by hipowls
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |