mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
Uptil now only space was used as a word separating character when searching streams. This meant that searching for "xyz" would not turn up a stream named "stream-xyz" as one would expect. Since -, _ and / are likely to be used as word separators in stream names, these 3 are added as word separators for streams. The utility function `filter_by_word_prefix_match` is refactored by adding an optional `word_separator_regex` argument. Fixes: #19700.