﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12921	tag autocompletion has a weakness for trailing numbers	dieterdreist	team	"==== What steps will reproduce the problem?
1. create 2 bogus objects
2. add arbitrary tags, e.g. on one object add the key ""oneway"" and on the other ""oneway1""
3. add a new object, start adding a tag by typing ""one""

==== What is the expected result?
autocomplete suggests the mostly used ( or maybe the shortest?) tag that fits

==== What happens instead?
the long and unusual ""oneway1"" will be the suggested tag

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-06-04 17:28:58 +0200 (Sat, 04 Jun 2016)
Build-Date:2016-06-04 15:31:27
Revision:10327
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10327 en) Mac OS X 10.11.5
Memory Usage: 684 MB / 1820 MB (559 MB allocated, but free)
Java version: 1.8.0_66-b17, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Dsun.java2d.opengl=true]
Dataset consistency test: No problems found

Plugins:
- TombPlugin (46)
- alignways (32161)
- apache-commons (32158)
- apache-http (32158)
- buildings_tools (32158)
- ejml (32158)
- geochat (32158)
- geotools (31895)
- imagery_offset_db (32158)
- josm-geojson (31245)
- jts (31906)
- opendata (32158)
- print (32191)
- proj4j (32158)
- reltoolbox (32158)
- reverter (32158)
- undelete (32158)
- utilsplugin2 (32158)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MaxspeedIcons&zip=1
}}}
"	defect	new	normal		Core	latest		template_report,autocompletion,trailing number	
