[Koha-bugs] [Bug 19580] Elasticsearch: QueryAutoTruncate exclude period as splitting character in autotruncation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Nov 4 22:51:23 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19580

David Gustafsson <glasklas at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |glasklas at gmail.com

--- Comment #3 from David Gustafsson <glasklas at gmail.com> ---
I think you need to escape that hyphen unless its the last character within the
character class brackets (like this: my @tokens = split
/((?:[\w\-.]+:)?"[^"]+"|\s+)/, $query;)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list