lilcss icon indicating copy to clipboard operation
lilcss copied to clipboard

Decrease regex verbosity

Open jongacnik opened this issue 8 years ago • 0 comments

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'}>`

jongacnik avatar Apr 21 '17 06:04 jongacnik