]> git.koha-community.org Git - koha.git/commit
Bug 17661: (follow-up) Update regex to support Unicode characters
authorNick Clemens <nick@bywatersolutions.com>
Thu, 27 Aug 2020 16:27:09 +0000 (16:27 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 4 Sep 2020 20:45:17 +0000 (20:45 +0000)
commitf297fb819c38553899f2cde10b108ca8fa712dce
tree92391a12c3d81dbf67483d91b3009682423cc7ba
parent0bfeb9990181445a14e4858b3d61954c1daf30ce
Bug 17661: (follow-up) Update regex to support Unicode characters

Rather than limiting initials to [A-Z] we should test for a broad
range of uppercase letters.

The ES/Zebra changes are slightly different because of Perl vs Java regex
conventions. POerl may support either, but I found 'Uppercase' to be a bit more explicit

More info here:
https://perldoc.perl.org/perlunicode.html

TO test:
Same plan as before but use Ж. as the ending initial
Confirm the period is preserved and other punctuation removed

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 224ac84aeca3b8dba87366925d83b01e0f5c1110)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Search.pm
admin/searchengine/elasticsearch/index_config.yaml