{"maintainers":[{"name":"johngeorgewright","email":"johngeorge.wright@gmail.com"}],"keywords":["chai-plugin","browser","string"],"dist-tags":{"latest":"1.1.1"},"author":{"name":"John Wright","email":"johngeorge.wright@gmail.com"},"description":"Advanced RegExp assertions for Chai.js","readme":"Chai Match\n==========\n\nAdvanced RegExp assertions for Chai.js.\n\nInstallation\n------------\n\n```\nnpm i --save-dev chai-match\n```\n\n```javascript\nvar chai = require('chai');\nchai.use(require('chai-match'));\n```\n\nAPI\n---\n\n### `.capture(n)`\n\nSets the assertion object to a previous match's capture.\n\n```javascript\nexpect('some thing to test').to.match(/some (\\w+) to test/).and.capture(0).equals('thing');\n'Here in London'.should.match(/(here|there) in (\\w+)/i).and.capture(1).equals('London');\n```\n","repository":{"type":"git","url":"git://github.com/johngeorgewright/chai-match.git"},"users":{},"bugs":{"url":"https://github.com/johngeorgewright/chai-match/issues"},"license":"MIT","versions":{"1.0.0":{"name":"chai-match","version":"1.0.0","description":"Advanced RegExp assertions for Chai.js","main":"assertions.js","scripts":{"test":"mocha "},"keywords":["chai","test","assertion","regexp","match"],"author":{"name":"John Wright","email":"johngeorge.wright@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/johngeorgewright/chai-match.git"},"dependencies":{},"devDependencies":{"chai":"^2.3.0","mocha":"^2.2.5"},"gitHead":"7eeea31714c20b330cdc7a0c25c932a8966a21d5","bugs":{"url":"https://github.com/johngeorgewright/chai-match/issues"},"homepage":"https://github.com/johngeorgewright/chai-match","_id":"chai-match@1.0.0","_shasum":"edcdedd4ead5967bdfbe0d78251123e9d5fb6174","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"johngeorgewright","email":"johngeorge.wright@gmail.com"},"maintainers":[{"name":"johngeorgewright","email":"johngeorge.wright@gmail.com"}],"dist":{"shasum":"edcdedd4ead5967bdfbe0d78251123e9d5fb6174","size":1710,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/chai-match/-/chai-match-1.0.0.tgz"},"directories":{},"publish_time":1432304038172,"_cnpm_publish_time":1432304038172,"_hasShrinkwrap":false},"1.0.1":{"name":"chai-match","version":"1.0.1","description":"Advanced RegExp assertions for Chai.js","main":"assertions.js","scripts":{"test":"mocha "},"keywords":["chai","test","assertion","regexp","match"],"author":{"name":"John Wright","email":"johngeorge.wright@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/johngeorgewright/chai-match.git"},"dependencies":{},"devDependencies":{"chai":"^2.3.0","mocha":"^2.2.5"},"gitHead":"e7b22277750c3e83d6595325f255f56778c045cb","bugs":{"url":"https://github.com/johngeorgewright/chai-match/issues"},"homepage":"https://github.com/johngeorgewright/chai-match","_id":"chai-match@1.0.1","_shasum":"4e32206fe6cbe8419930b7f16f06a534f7b3e7e0","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"johngeorgewright","email":"johngeorge.wright@gmail.com"},"maintainers":[{"name":"johngeorgewright","email":"johngeorge.wright@gmail.com"}],"dist":{"shasum":"4e32206fe6cbe8419930b7f16f06a534f7b3e7e0","size":1670,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/chai-match/-/chai-match-1.0.1.tgz"},"directories":{},"publish_time":1432306522198,"_cnpm_publish_time":1432306522198,"_hasShrinkwrap":false},"1.1.0":{"name":"chai-match","version":"1.1.0","description":"Advanced RegExp assertions for Chai.js","main":"chai-match.js","scripts":{"test":"mocha","build":"uglifyjs --compress --mangle -o chai-match.min.js -- chai-match.js","prepublish":"npm test && npm run build"},"keywords":["chai","test","assertion","regexp","match"],"author":{"name":"John Wright","email":"johngeorge.wright@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/johngeorgewright/chai-match.git"},"dependencies":{},"devDependencies":{"chai":"^2.3.0","mocha":"^2.2.5","uglify-js":"^2.4.23"},"gitHead":"1e18306672d85ffb1a9c65d4035e93e4c8733d81","bugs":{"url":"https://github.com/johngeorgewright/chai-match/issues"},"homepage":"https://github.com/johngeorgewright/chai-match","_id":"chai-match@1.1.0","_shasum":"de0fbc439fa1fa929950fb04c038d72e35615548","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"johngeorgewright","email":"johngeorge.wright@gmail.com"},"maintainers":[{"name":"johngeorgewright","email":"johngeorge.wright@gmail.com"}],"dist":{"shasum":"de0fbc439fa1fa929950fb04c038d72e35615548","size":2243,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/chai-match/-/chai-match-1.1.0.tgz"},"directories":{},"publish_time":1432307518630,"_cnpm_publish_time":1432307518630,"_hasShrinkwrap":false},"1.1.1":{"name":"chai-match","version":"1.1.1","description":"Advanced RegExp assertions for Chai.js","main":"chai-match.js","scripts":{"test":"mocha","build":"uglifyjs --compress --mangle -o chai-match.min.js -- chai-match.js","prepublish":"npm test && npm run build"},"keywords":["chai-plugin","browser","string"],"author":{"name":"John Wright","email":"johngeorge.wright@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/johngeorgewright/chai-match.git"},"dependencies":{},"devDependencies":{"chai":"^2.3.0","mocha":"^2.2.5","uglify-js":"^2.4.23"},"gitHead":"90d23a046df502863f5ff152b5892d0e8a8f1866","bugs":{"url":"https://github.com/johngeorgewright/chai-match/issues"},"homepage":"https://github.com/johngeorgewright/chai-match#readme","_id":"chai-match@1.1.1","_shasum":"39fb0a2e6b7c8f6386dcfead48d148a915fa6c46","_from":".","_npmVersion":"2.14.1","_nodeVersion":"0.10.39","_npmUser":{"name":"johngeorgewright","email":"johngeorge.wright@gmail.com"},"maintainers":[{"name":"johngeorgewright","email":"johngeorge.wright@gmail.com"}],"dist":{"shasum":"39fb0a2e6b7c8f6386dcfead48d148a915fa6c46","size":2261,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/chai-match/-/chai-match-1.1.1.tgz"},"directories":{},"publish_time":1447337983457,"_cnpm_publish_time":1447337983457,"_hasShrinkwrap":false}},"name":"chai-match","time":{"modified":"2018-08-11T16:24:12.961Z","created":"2015-05-22T14:13:58.172Z","1.0.0":"2015-05-22T14:13:58.172Z","1.0.1":"2015-05-22T14:55:22.198Z","1.1.0":"2015-05-22T15:11:58.630Z","1.1.1":"2015-11-12T14:19:43.457Z"},"readmeFilename":"README.md","homepage":"https://github.com/johngeorgewright/chai-match#readme"}