in reply to Match entire string, not just first character
Re-read 'perlre' those square brackets don't mean what you think they mean. You want:
and not /^\"A pdb file\"/ [download]
Square brackets means 'one character from this set'.