#16965 closed enhancement (fixed)

Ignore some characters in preset search.

Reported by: maxerickson@… Owned by: team
Priority: normal Milestone: 18.11
Component: Core Version:
Keywords: search preset character Cc:

Description (last modified by Don-vip)

When using a name suggestion index preset (like mentioned in #15217, it would be useful for a search like "lowes" to also match "Lowe's".

I guess for English, .' and - are going to be the most useful to ignore.

Attachments (0)

Change History (4)

comment:1 Changed 18 months ago by Don-vip

Description: modified (diff)
Keywords: search preset character added

comment:2 Changed 18 months ago by Don-vip

We could ignore all punctuation characters:

if (Pattern.matches("\\p{Punct}", str)) {

comment:3 Changed 18 months ago by Don-vip

Milestone: 18.11

For example in core we have Facilities/Health/Doctor's Office which can't be found typing Doctors

comment:4 Changed 18 months ago by Don-vip

Resolution: fixed
Status: newclosed

In 14438/josm:

fix #16965 - ignore punctuation characters in tagging preset selector

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.