Uploaded image for project: 'SystemDS'
  1. SystemDS
  2. SYSTEMDS-778

Parser not handle escaped quotes correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Parser
    • None

    Description

      The following DML

      print('this is a string');
      print("deron's string");
      print('"deron" string');
      print('"deron\'s" string');
      print("\"fred's\" string");
      print("\"mike\'s\" string");
      

      should produce:

      this is a string
      deron's string
      "deron" string
      "deron's" string
      "fred's" string
      "mike's" string
      

      However, it produces:

      this is a string
      deron's string
      "deron" string
      "deron\'s" string
      \"fred's\" string
      \"mike\'s\" string
      

      Attachments

        Activity

          People

            deron Jon Deron Eriksson
            deron Jon Deron Eriksson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: