Invalid regular exression: Invalid group specifier name in Safari
erayturan opened this issue · 1 comments
erayturan commented
It works fine in Chrome but returns an error and breaks on Safari.
const parseRGB = (rgb) => rgb.match(/(?<=\().+?(?=\))/g)?.[0].split(",");
jpntex commented
Thank you for reporting @erayturan