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
I got this error on Safari IOS v15 and v16 and it causes mojocss not to load
The text was updated successfully, but these errors were encountered:
webcodavic
changed the title
[Error] SyntaxError: Invalid regular expression: invalid group specifier name (anonymous function) (mojocss.min.js:2) on Safari ios 15
[Error] SyntaxError: Invalid regular expression: invalid group specifier name (anonymous function) (mojocss.min.js:2) on Safari IOS v15 and v16
Apr 10, 2024
The use of lookbehinds ((?<!calc\()) is not supported by Safari iOS v15. When I removed the < between ? and ! it works fine (maybe because I don't use calc combined with var)
Replace /(?<!calc\()var\(--\w+?(?:-\w+?)*\)(?!\))|[+\-*/]/g
with /(?!calc\()var\(--\w+?(?:-\w+?)*\)(?!\))|[+\-*/]/g
I got this error on Safari IOS v15 and v16 and it causes mojocss not to load
The text was updated successfully, but these errors were encountered: