in reply to Re: Regex and a pseudo-XML tag
in thread Regex and a pseudo-XML tag

In order use a captured string as part of a regex match, you need to use a backslash in front of the digit, not a dollar sign:
m/<blank\s+title\s*=\s*(["'])?(.*?)\1\s*>/ --
To show a simpler example, consider:
$_ = "here are ::framed words:: to capture"; if ( /(::)(.*?)\1/ ) { print "text framed by $1 was <$2>\n"; }
If you try it with $ instead of \, it doesn't work.