Improved regular expressions

Improved regular expressions for detecting and parsing double quotation
marks (“ and ”).