Feature #37878

Allow using ideographic space (U+3000) as a separator for search terms

Added by Go MAEDA 26 days ago. Updated 25 days ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:I18n
Target version:5.1.0
Resolution:Fixed

Description

The attached patch allows using " " (ideographic space, U+3000) as a separator for search terms in addition to " " (U+0020).

You can perform AND searches by separating terms with a space in the search box or issue filter. Currently, "space" means characters that match the regular expression `\s` in this context. It is sufficient in many cases to consider `\s` as space, but not enough in some languages at least Japanese (and perhaps Chinese). This is because they use " " (U+3000) when writing text, so they often mistakenly enter U+3000 instead of U+0020 when they want to separate search terms.

Actually, many services such as Google, Bing, and GitHub treat U+3000 as a separator. I think it is a small but nice improvement for those who use Redmine in languages that regularly use U+3000 if Redmine will support U+3000 as a separator for search terms.

support-ideographic-space-separator.patch Magnifier (1.43 KB) Go MAEDA, 2022-11-02 07:59

Associated revisions

Revision 21952
Added by Go MAEDA 25 days ago

Allow using ideographic space (U+3000) as a separator for search terms (#37878).

Patch by Go MAEDA.

History

#1 Updated by Go MAEDA 26 days ago

  • File deleted (support-ideographic-space-separator.patch)

#3 Updated by Holger Just 26 days ago

LGTM!

#4 Updated by Go MAEDA 25 days ago

  • Target version set to 5.1.0

Setting the target version to 5.1.0.

#5 Updated by Go MAEDA 25 days ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch.

Also available in: Atom PDF