﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
20843	"Tagging presets: ""match_expression"" does not work"	skyper	team	"Testing the new feature, I am either too stupid or it does not work. I tried to remove `yes` from the value list of residential buildings, see #20526.

==== What steps will reproduce the problem?
1. Have an item with `match_expression=""""` as option, example see below
1. Tag an object with a matching tag, e.g. `building=yes` or `building=hut` …

{{{
#!preset
<item name=""Residential Building"" icon=""presets/landmark/building.svg"" type=""node,closedway,multipolygon"" preset_name_label=""true"" match_expression=""building=(yes|residential|apartments|ger|house|hotel|hut|bungalow|dormitory|terrace|detached|farm)"">
}}}

==== What is the expected result?
The tagging preset links is displayed on top of the property list panel

==== What happens instead?
No link

==== Please provide any additional information below. Attach a screenshot if possible.
The search in JOSM works and finds all appropriate matches but I was not able to get any link displayed using the new feature.

I careful looked at the code to make sure there is no other `match=""""` within the item as I am not sure if `keyvalue!` is able to overwrite my expression.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-05-03 19:51:10 +0200 (Mon, 03 May 2021)
Revision:17858
Build-Date:2021-05-04 01:31:01
URL:https://josm.openstreetmap.de/svn/trunk

Tagging presets:
+ ${HOME}/JOSM/new/resources/data/defaultpresets_17833_residential_building_20526.xml
}}}
"	defect	closed	normal		Core	latest	invalid	template_report tagging preset match_expression	simon04
