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

Highlighter for JavaScript regex syntax

Results 6 regex-colorizer issues
Sort by recently updated
recently updated
newest added

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...

I'd prefer not to minify this library myself, especially since minifiers can introduce their own issues. Could you provide a minified version of your code in the code base?

The named group is the most required part. http://xregexp.com/

When using flag `u`, Regex Colorizer (as of v1.0.0) uses a [simplistic regex](https://github.com/slevithan/regex-colorizer/blob/20709a0ccf6765eb609e1b6dd595de8d37eeea25/src/index.js#L6) to identify Unicode properties with `\p{...}` and `\P{...}`. It would be better to flag any values that...

- Update supported syntax to include features and escaping rules from JavaScript flag `v` (ES2024). - Rewrite on top of an AST ([regexpp](https://github.com/eslint-community/regexpp), [regexp-tree](https://github.com/DmitrySoshnikov/regexp-tree), etc.). - Consider becoming a TextMate...