fix matching for quoted strings