You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Application error: a client-side exception has occurred on official React.dev site #6556
I can reproduce this on Safari Desktop 16.0 with extensions disabled. In the console I get a regex error (see below) and links to error codes 418 and 423.
The regex error is SyntaxError: Invalid regular expression: invalid group specifier name. Looking at the traceback leads me to the regex (in the minified code): ((?<!\\+)https?:\\/\\/(?:www\\.)?(?:[-\\w.]+?[.@][a-zA-Z\\d]{2,}|localhost)(?:[-\\w.:%+~#*$!?&/=@]*?(?:,(?!\\s))*?)*)
Activity
itsjohncs commentedon Jan 17, 2024
I can reproduce this on Safari Desktop 16.0 with extensions disabled. In the console I get a regex error (see below) and links to error codes 418 and 423.
The regex error is
SyntaxError: Invalid regular expression: invalid group specifier name. Looking at the traceback leads me to the regex (in the minified code):((?<!\\+)https?:\\/\\/(?:www\\.)?(?:[-\\w.]+?[.@][a-zA-Z\\d]{2,}|localhost)(?:[-\\w.:%+~#*$!?&/=@]*?(?:,(?!\\s))*?)*)vvtommy commentedon Jan 22, 2024
lookbehind is only supported on Safari(and wkwebview of course) 16.4(ios 16.4) and above. 🤷🏻♂️
rickhanlonii commentedon Jan 22, 2024
Thanks for reporting, this was broken last week with #6214
Fixed in #6571
rickhanlonii commentedon Jan 22, 2024
Confirmed that the fix is live, thanks again!