Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vilicvane/regex-combiner
Deprecated, use https://github.com/vilic/regex-tools
https://github.com/vilicvane/regex-combiner
Last synced: 21 days ago
JSON representation
Deprecated, use https://github.com/vilic/regex-tools
- Host: GitHub
- URL: https://github.com/vilicvane/regex-combiner
- Owner: vilicvane
- Created: 2014-12-06T20:20:51.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-07T09:52:58.000Z (about 10 years ago)
- Last Synced: 2024-11-30T15:41:59.622Z (24 days ago)
- Language: JavaScript
- Homepage:
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This tool is created for managing long regular expression that can be separated to several parts.
## Usage
http://rawgit.com/vilic/regex-combiner/master/combiner.html
Write muliple regular expressions line by line. This tool will automatically handle back reference index. E.g.:
(abc)
(["'])...\1\1 above will be changed to \2 and result in a combined regular expression /(abc)|(["'])...\2/.
You may also use named group, e.g.:
($quote:["'])...($quote)
will be converted to /(["'])...\1/.