-
Notifications
You must be signed in to change notification settings - Fork 216
Closed
Description
Getting the following error in Safari (latest): SyntaxError: Invalid regular expression: invalid group specifier name
Looks like this actually may be inside cloudinary-core? We got this issue after recently updating to cloudinary-react to 1.5.1. Initial digging looks like this is an issue with Safari not supporting regex lookbehind.
Steps to reproduce
Use Safari. Tested on 13.1.1, but it looks like any version of Safari will fail.
Error screenshots
This is minified code, but you can see which regex pattern is at fault

Browsers (if issue relates to UI, else ignore)
[ ] Chrome
[ ] Firefox
[X] Safari
[ ] Other (Specify)
[ ] All
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels