Jump to content
Muxe Inc Forums
Sign in to follow this  
dandv

Incorrect escaping of \" at end of string

Recommended Posts

dandv    0

1. Define an NDN.HGL entry for some filetype, e.g. *.PL, to contain

StringFlags 3 (this should consider \" and \' as " and ' respectively).

 

2. Edit a file matching *.PL

 

3. Type the following line:

 

before "a\"b" after

 

Notice NDN highlighting correctly the quoted string and the text around it.

 

3. Delete the 'b':

 

before "a\"" after

 

Notice NDN highlighting 'after' as part of the string.

 

Maybe this is a remnant from Pascal-like quote interpetation, where two consecutive

quotes are collapsed into one quote?

 

 

Hope this helps,

Dan Dascalescu

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×