Error - Unterminated string in line

Hello

While testing the possibility to use Passolo 2015 Text Parser with RegEx  to handle Multiline text file, we hit an error I don't know how to handle.

When I'm generating the string list, some 50 files give the ERROR Unterminated string in line 

 

I checked the files in Notepad ++ but I can't see any dicrepancy or irtegularity.

The regex used is:

Begin : ^([^=]+)=
End   :  \n;([^\n]+)

 

I saw that similar error was supposedly fixed in Passolo 2016 CU4 so I decided to test this on Demo version of Passolo 2018.

Unfortunatley, the behaviour is the same as in Passolo 2016 Team.

 

This is what I see in preview:

 

 

Preview on Strings tab doesn't show any text is parsed.

 

 

Tracing_Start=Trace
Tracing_PaneTitle=Tracing

I'm attaching a an example of  problematic files in hope that somebody will have an idea what is causing this problems? and how can we fix this.

 

Thank you 

 

Simon 

 

Parents Reply
  • Dear Naoko

    Thank you for your suggestion and effort in helping me.

    Your suggestion is correct in case the source file would be formatted in the form

    ResourceID=Source string.

    Unfortunately the files we need to process are not strictly formatted as above.  Export from the development may add a comment to the preceding string. This means that there are case where

    ResourceID=Source string
    ; {Locked} This explanation to the string.
    ResourceID=Source string
    ResourceID=Source string
    ; {Locked} This explanation to the string.

    I'm attaching a second file to make it a bit more understandable and also to explain that in the comment line I get the information if string should be translated or not (to be locked).

     

    BTW: the attached file is again an example of files that give Unterminated string in line  error.

     

    Passolo_2018_Unterminated_sample2.TXT

Children