balanced-match
Advanced tools
Comparing version 0.0.0 to 0.0.1
{ | ||
"name": "balanced-match", | ||
"description": "Match balanced character pairs, like \"{\" and \"}\"", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"repository": { | ||
@@ -30,3 +30,19 @@ "type": "git", | ||
}, | ||
"license": "MIT" | ||
"license": "MIT", | ||
"testling": { | ||
"files": "test/*.js", | ||
"browsers": [ | ||
"ie/8..latest", | ||
"firefox/20..latest", | ||
"firefox/nightly", | ||
"chrome/25..latest", | ||
"chrome/canary", | ||
"opera/12..latest", | ||
"opera/next", | ||
"safari/5.1..latest", | ||
"ipad/6.0..latest", | ||
"iphone/6.0..latest", | ||
"android-browser/4.2..latest" | ||
] | ||
} | ||
} |
@@ -1,2 +0,1 @@ | ||
# balanced-match | ||
@@ -6,2 +5,6 @@ | ||
[![build status](https://secure.travis-ci.org/juliangruber/balanced-match.png)](http://travis-ci.org/juliangruber/balanced-match) | ||
[![testling badge](https://ci.testling.com/juliangruber/balanced-match.png)](https://ci.testling.com/juliangruber/balanced-match) | ||
## Example | ||
@@ -37,7 +40,7 @@ | ||
* **start**: the index of the first match of `a` | ||
* **end**: the index of the matching `b` | ||
* **pre**: the preamble, `a` and `b` not included | ||
* **body**: the match, `a` and `b` not included | ||
* **post**: the postscript, `a` and `b` not included | ||
* **start** the index of the first match of `a` | ||
* **end** the index of the matching `b` | ||
* **pre** the preamble, `a` and `b` not included | ||
* **body** the match, `a` and `b` not included | ||
* **post** the postscript, `a` and `b` not included | ||
@@ -44,0 +47,0 @@ If there's no match, `undefined` will be returned. |
4894
8
60
78