Bundle updated node modules

This commit is contained in:
Jason Ginchereau
2016-05-25 16:31:28 -07:00
committed by Nikhil Khandelwal
parent 72bbe9fdf0
commit d6fe1a65eb
58 changed files with 943 additions and 677 deletions
+3 -1
View File
@@ -1,6 +1,6 @@
# balanced-match
Match balanced string pairs, like `{` and `}` or `<b>` and `</b>`.
Match balanced string pairs, like `{` and `}` or `<b>` and `</b>`. Supports regular expressions as well!
[![build status](https://secure.travis-ci.org/juliangruber/balanced-match.svg)](http://travis-ci.org/juliangruber/balanced-match)
[![downloads](https://img.shields.io/npm/dm/balanced-match.svg)](https://www.npmjs.org/package/balanced-match)
@@ -16,6 +16,7 @@ var balanced = require('balanced-match');
console.log(balanced('{', '}', 'pre{in{nested}}post'));
console.log(balanced('{', '}', 'pre{first}between{second}post'));
console.log(balanced(/\s+\{\s+/, /\s+\}\s+/, 'pre { in{nest} } post'));
```
The matches are:
@@ -28,6 +29,7 @@ $ node example.js
pre: 'pre',
body: 'first',
post: 'between{second}post' }
{ start: 3, end: 17, pre: 'pre', body: 'in{nest}', post: 'post' }
```
## API