https://github.com/wizard04wsu/javascript-regex
Improved syntax highlighting for JavaScript regular expressions in Atom
https://github.com/wizard04wsu/javascript-regex
atom atom-package javascript parser regex regexp regular-expressions syntax syntax-highlighting syntax-tree
Last synced: about 2 months ago
JSON representation
Improved syntax highlighting for JavaScript regular expressions in Atom
- Host: GitHub
- URL: https://github.com/wizard04wsu/javascript-regex
- Owner: wizard04wsu
- License: mit
- Created: 2019-11-24T10:13:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-12-30T01:05:44.000Z (6 months ago)
- Last Synced: 2026-01-02T08:57:33.349Z (6 months ago)
- Topics: atom, atom-package, javascript, parser, regex, regexp, regular-expressions, syntax, syntax-highlighting, syntax-tree
- Language: JavaScript
- Homepage:
- Size: 3.89 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# javascript-regex
[](https://atom.io/packages/javascript-regex) [](https://atom.io/packages/javascript-regex)
Improved syntax for JavaScript regular expressions, with syntax highlighting.

This package implements two tree-sitter parsers:
- [tree-sitter-regex-unicode-js](https://github.com/wizard04wsu/tree-sitter-regex-unicode-js) for regular expressions that have the Unicode flag set
- [tree-sitter-regex-js](https://github.com/wizard04wsu/tree-sitter-regex-js) for the rest
## Troubleshooting
#### If you're unable to install the package on Windows:
Instead of installing it from within Atom, close Atom and try from the command line.
cd /d %USERPROFILE%\.atom\packages
rmdir /s /q javascript-regex
apm install javascript-regex
#### If there's a failure loading the grammars when you open Atom:
Whenever Atom is updated, this package needs to be rebuilt. Either click the red bug icon in the bottom-right corner of the window, or execute `Incompatible Packages: View` via the command palette. Then, click "Rebuild Packages". You'll have to restart Atom.
If anyone has a better solution, please [let me know](https://github.com/wizard04wsu/javascript-regex/issues/9).