Escape in CSS

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Escape in CSS

GeoServer - User mailing list
Dear List,

I could not figure out how to escape backslash in geoserver CSS style it does not seem to work as in the documentation.
The below simple style:

* {
label: ‘\\’; 
}

giving this error when pushing validate on the UI: Invalid input '\', expected '’' 

What I would really like to achive is using backslash in a function call:

* {
label: [strConcat('my regex: ','.*\d.*')];
}

I get: Error at line 5. Encountered "<EOF>" at line 1, column 23. Was expecting one of: <STRING_LITERAL> ... "true" ... "false" ... "point" ... "linestring" ... "polygon" ... "multipoint" ... "multilinestring" ... "multipolygon" ... "geometrycollection" ... "envelope" ... "(" ... "[" ... "-" ... <INTEGER_LITERAL> ... <FLOATING_LITERAL> ... <DATE> ... <DATE_TIME> ... <IDENTIFIER> ... Parsing : strConcat('my regex: ‘,.

Any idea?

Thank you,
Laszlo


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users