'4hhhh' =~ /(\d)(??{ "h{$1}"})/ [download]
In reply to Re: Can I use backreferences as quantifiers in a regex? by educated_foo in thread Can I use backreferences as quantifiers in a regex? by johnbo