Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wizard04wsu/javascript-regex
Improved syntax for JavaScript regular expressions
https://github.com/wizard04wsu/javascript-regex
atom atom-package javascript parser regex regexp regular-expressions syntax syntax-highlighting syntax-tree
Last synced: about 22 hours ago
JSON representation
Improved syntax for JavaScript regular expressions
- Host: GitHub
- URL: https://github.com/wizard04wsu/javascript-regex
- Owner: wizard04wsu
- License: mit
- Created: 2019-11-24T10:13:49.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-09-30T07:07:46.000Z (about 2 years ago)
- Last Synced: 2023-08-04T10:54:38.009Z (over 1 year ago)
- Topics: atom, atom-package, javascript, parser, regex, regexp, regular-expressions, syntax, syntax-highlighting, syntax-tree
- Language: JavaScript
- Homepage:
- Size: 3.81 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# javascript-regex
[![](https://img.shields.io/apm/v/javascript-regex)](https://atom.io/packages/javascript-regex) [![](https://img.shields.io/apm/dm/javascript-regex)](https://atom.io/packages/javascript-regex)Improved syntax for JavaScript regular expressions, with syntax highlighting.
![regex2](https://user-images.githubusercontent.com/695638/192731283-82db8798-d9b9-4f3f-8f13-7a90fb581810.gif)
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).