mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
In the old regex, there was no 4th capturing group, hence cap[4] always gives `undefined`. It is removed now. Also, we were capturing the whole pattern which is not needed as it is by default captured in the group with the 0th index.