diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 26 |
1 files changed, 21 insertions, 5 deletions
@@ -2,12 +2,21 @@ Regular expression-like syntax for list operations. An experiment generalizing regex-like operations to a list. -[](https://forthebadge.com) -[](https://forthebadge.com) -[](https://forthebadge.com) +[](https://www.npmjs.com/package/elxr) -### Syntax +## Install +To install the latest stable version of elxr - + +```bash +yarn add elxr +// OR +npm install --save elxr +``` + + + +## Syntax Whitespaces are ignored (except within literals) * `\s` => Any **string** @@ -34,9 +43,10 @@ Whitespaces are ignored (except within literals) * `(?: \s\T)` => Non-capturing group (example checks for `\s\T` but doesn't return it as a match) <sup>[TODO]</sup> -### Examples +## Examples + #### matchAll ```js @@ -95,3 +105,9 @@ replaceAll(/ \n+ /, replacer, [ 'start', 3, 5, 'mid', 2, 0, 4, 'end' ]) // > [ 'start', 8, 'mid', 6, 'end' ] ``` + + + +## License +Elxr is licensed under [MIT](./LICENSE) + |
