This diff resolves [[ https://linear.app/comm/issue/ENG-5150/invalid-group-specifier-name-on-safari | ENG-5150 ]]. This issue was caused by negative lookbehind assertions in chat mention regex which are not supported in Safari version lower than [[ https://caniuse.com/js-regexp-lookbehind | 16.4 ]].