Modify ↓
#9782 closed defect (fixed)
Display key name when using regex
| Reported by: | naoliv | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 15.04 |
| Component: | Core validator | Version: | |
| Keywords: | mapcss | Cc: | lists@… |
Description
When using something like this (to catch objects that have *_name but not a name):
*[/.+_name/][!name] { throwWarning: tr("has {0} but not {1}", "{0.key}", "{1.key}"); }
I only see has .+name= but not name as the output.
Changing {0.key} to {0.tag} has the same effect.
Am I missing something or JOSM doesn't support this?
Attachments (0)
Change History (5)
comment:1 by , 12 years ago
| Keywords: | mapcss added |
|---|
comment:2 by , 11 years ago
| Cc: | added |
|---|
comment:3 by , 11 years ago
comment:5 by , 11 years ago
| Milestone: | → 15.04 |
|---|
Note:
See TracTickets
for help on using tickets.



#10859 might be the same problem.