indielayer/ui

Invalid regular exression: Invalid group specifier name in Safari

erayturan opened this issue · 1 comments

It works fine in Chrome but returns an error and breaks on Safari.

const parseRGB = (rgb) => rgb.match(/(?<=\().+?(?=\))/g)?.[0].split(",");

Thank you for reporting @erayturan