Fix lexical error when parsing string with parentheses