lilcss
lilcss copied to clipboard
Decrease regex verbosity
Right now regex is verbose, was working on this too late at night. Something more along the lines of (currently not working):
/class=(?:"([^]+?)"|'([^]+?)'|\$\{([^]+?)\})/ig
to match tagged template stuff like:
`<div class=${true ? 'beep' : 'boop'}>`