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,

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:
- The GeoServer user list posting guidelines:

If you want to request a feature or an improvement, also see this:

[hidden email]