If I delete the "use strict;" the program compiles/runs, but still does not match the 2nd regex. I also tried making a duplicate of $paren called $par2, and used it instead of $paren to set $2, and that doesn't work either, $2 is still blank.
In reply to Re^5: Regex's, parentheses, and the mysterious ( ??{ } ) operator
by Clovis_Sangrail
in thread Regex's, parentheses, and the mysterious ( ??{ } ) operator
by Clovis_Sangrail
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |