New helper function: preg_match_multiple
Minor improvements to regex matching of titles