in reply to Re: Backref in a regex quantifier
in thread Backref in a regex quantifier

That doesn't do what the OP wants though. You're just matching the back reference again.

If I understand it correctly, what the OP wants is to have a match on the string "3 56789" return 3 in $1 and 567 in $2