Modify

Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#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 Don-vip, 10 years ago

Keywords: mapcss added

comment:2 by Aun Johnsen <lists@…>, 10 years ago

Cc: lists@… added

comment:3 by Don-vip, 9 years ago

#10859 might be the same problem.

comment:4 by simon04, 9 years ago

Resolution: fixed
Status: newclosed

In 8266/josm:

fix #9782 fix #10859 - MapCSS validator: evaluate real key and value for KeyConditions

comment:5 by simon04, 9 years ago

Milestone: 15.04

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.