Modify ↓
#11598 closed defect (fixed)
Cannot match literal quotation mark (?) in regular expression
Reported by: | Dakon | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 15.08 |
Component: | Core | Version: | tested |
Keywords: | mapcss | Cc: |
Description
I am not able to write a MapCSS rule (neither for rendering nor for validator) that matches on a literal quotation mark in the value. It looks like escaping using backslashes does not work. I originally tries something like this:
To match a string that looks like "80;120;off;?" (OpenRailwayMap signal speed specification).
Attachments (0)
Change History (6)
comment:1 by , 9 years ago
Keywords: | mapcss added |
---|
comment:5 by , 9 years ago
Milestone: | → 15.07 |
---|
Note:
See TracTickets
for help on using tickets.
Use double
\\
Simple example that matches
name=foo?
: