mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +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 |
||
|---|---|---|
| .. | ||
| assets | ||
| audio | ||
| generated | ||
| html | ||
| images | ||
| js | ||
| shared | ||
| styles | ||
| templates | ||
| third | ||
| .gitignore | ||