Uploaded image for project: 'Scala Programming Language'
  1. Scala Programming Language
  2. SI-4138

stringLiteral parser of JavaTokenParsers does not accept escaped double quotes.

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Compiler (Misc)
    • Labels:
      None
    • Environment:

      stringLiteral double quotes

      Description

      Should not stringLiteral parser be like this:

      ("\""+"""([^"\p{Cntrl}\\]|\\[\\/bfnrt"]|\\u[a-fA-F0-9]{4})*"""+"\"").r

        Attachments

          Activity

            People

            • Assignee:
              rytz Lukas Rytz
              Reporter:
              martins Martins
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: