mirror of
https://github.com/zulip/zulip.git
synced 2026-07-09 21:21:47 +08:00
This prevents the regex from requiring multiple spaces between adjacent alert words by using lookahead and lookbehind (rather than the before/after checks each needing to eat a whitespace character) so that consecutive alert words (if any) can be highlighted. With a frontend test covering adjacent corner cases by tabbott. Fixes #17320 |
||
|---|---|---|
| .. | ||
| node_tests | ||
| puppeteer_lib | ||
| puppeteer_tests | ||
| zjsunit | ||