Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12725 closed defect (worksforme)

Filter should have a way to match a : inside key names

Reported by: dima@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

Hi. I'm using a stock JOSM 9979 from Debian. I want to create a filter to hide all objects that have any tag with key "labuildings:ain". I thus use a filter string:

labuildings:ain=*

This is rejected by the filter because : has special meaning to the filter, even though it is a perfectly valid, normal character in the key. It would be great if there was some way to make this search, like an escape character for instance. The examples on the front page didn't show such an example character, and \ didn't work.

Thanks

Attachments (0)

Change History (2)

comment:1 by Klumbumbus, 9 years ago

Resolution: worksforme
Status: newclosed

use this filter:
"labuildings:ain" or "labuildings:ain"=*

The quotation marks are required becasue the colon has a special meaning e.g. for type:node which refers to objects of the type node and not to the key type:node=*

Last edited 9 years ago by Klumbumbus (previous) (diff)

comment:2 by anonymous, 9 years ago

Oh, I see. And that was even in the examples. I should have figured that out. Sorry for the bother.

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.