$1 could be used for the first $^N, and $2 the second, but $^N is more meaningful.
They're not that experimental, and they're require to do what you want to do in a match op.
In reply to Re^3: Can I use backreferences as quantifiers in a regex?
by ikegami
in thread Can I use backreferences as quantifiers in a regex?
by johnbo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |