I don't understand the question mark before the print block. Also why the (?!) at the end. I noticed that removing it only prints ABC, but I don't understand why. Thank you(?{print "$1\n"})(?!)
In reply to Re^2: substitution in regular expression
by aeqr
in thread substitution in regular expression
by aeqr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |