[mapserver-dev] New feature for 6.0: Ability to escape double quote inside a string

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Wed Jul 7 10:45:54 EDT 2010


Some code in the lexer already exists to do this but just in the context of tokenizing
logical expressions. Umberto did that work. (look for the MSSTR state) It should be possible
to apply that more broadly...

Steve

-----Original Message-----
From: mapserver-dev-bounces at lists.osgeo.org [mailto:mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Alan Boudreault
Sent: Wednesday, July 07, 2010 8:55 AM
To: mapserver-dev at lists.osgeo.org
Subject: [mapserver-dev] New feature for 6.0: Ability to escape double quote inside a string

Hi devs,

Yesterday, I hit again a bug about double quotes in a use case. (See 
http://trac.osgeo.org/mapserver/ticket/3481 ) I think it would be nice to add 
a new feature in MS 6.0: the ability to escape a quote/double quote inside a 
string. First, we should determine what would be the escape char (probably 
something like \" or "") and secondly the proper way to do it. Perhaps Steve 
would have a few hints to say, since he played a lot in the lexer code. 

Any thoughts?   

Thanks,
Alan
 
-- 
Alan Boudreault
Mapgears
http://www.mapgears.com
_______________________________________________
mapserver-dev mailing list
mapserver-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev


More information about the mapserver-dev mailing list