That is because there are no capturing parentheses in your regular expression and so $1, $2 and $3 are not affected and thus contain nothing.
In reply to Re^3: How to replace greedy alternation?
by jwkrahn
in thread How to replace greedy alternation?
by adamcrussell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |