indielayer / ui

Vue 3 & Nuxt 3 UI Library with Tailwind CSS 3. 🚀 Build and prototype fast web applications.

Home Page:https://indielayer.com/ui/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid regular exression: Invalid group specifier name in Safari

erayturan opened this issue · 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