regex-colorizer icon indicating copy to clipboard operation
regex-colorizer copied to clipboard

Highlight regex comments

Open DanielOaks opened this issue 9 years ago • 1 comments

It would be nice to be able to highlight regex comments explicitly with this, since I'm using this lib to highlight a regex that I split into parts, and indent and comment to explain. Something like the # character perhaps.

Thanks for the awesome library! I might even just do it myself and send a PR, we'll see :)

DanielOaks avatar Mar 20 '16 06:03 DanielOaks

Thanks! A PR would be welcome. It could work by passing flag x, since there's an x flag proposal for future versions of JavaScript.

slevithan avatar May 13 '24 03:05 slevithan