HomePhabricator
Diffusion Comm fcaa7289c9e9

[lib] Remove negative lookbehind assertions from chat mention regex

Description

[lib] Remove negative lookbehind assertions from chat mention regex

Summary: This diff resolves ENG-5150. This issue was caused by negative lookbehind assertions in chat mention regex which are not supported in Safari version lower than 16.4.

Test Plan:

  1. Tested if new chat mention regex works exactly like version with negative lookbehind assertions on web, iOS, Android.
  2. Checked if there are no errors in lib tests.
  3. Tested if error still occurs on Safari versions < 16.4 using BrowserStack.

Reviewers: tomek, ashoat, rohan

Reviewed By: ashoat

Differential Revision: https://phab.comm.dev/D9344

Details

Provenance
patrykAuthored on Oct 2 2023, 1:46 PM
Reviewer
ashoat
Differential Revision
D9344: [lib] Remove negative lookbehind assertions from chat mention regex
Parents
rCOMM6a1c53d86b3b: [keyserver] `endpoint_profiling` -> `endpoint-profiling`
Branches
Unknown
Tags
Unknown