{"_id":"regexp","_rev":"23-f60513a0dfffb09aa4ea3a742b8f9aba","name":"regexp","description":"Regex Parser","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.1":{"name":"regexp","version":"0.0.1","description":"Regex Parser","keywords":[],"dependencies":{},"devDependencies":{"uglify-js":"~2.3.6","pegjs":"https://github.com/dmajda/pegjs/archive/798ed6a8a4fbfc36b312ba09d428a5832808d9d6.tar.gz","bash-color":"0.0.3"},"scripts":{"test":"node test/index.js","prepublish":"npm test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/regexp.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","readme":"# regexp\r\n\r\nRegex parser based on descriptions in http://www.javascriptkit.com/javatutors/redev2.shtml\r\n\r\n[![Build Status](https://travis-ci.org/ForbesLindesay/regexp.png?branch=master)](https://travis-ci.org/ForbesLindesay/regexp)\r\n[![Dependency Status](https://gemnasium.com/ForbesLindesay/regexp.png)](https://gemnasium.com/ForbesLindesay/regexp)\r\n[![NPM version](https://badge.fury.io/js/regexp.png)](http://badge.fury.io/js/regexp)\r\n\r\n## Installation\r\n\r\n    npm install regexp\r\n\r\n## Usage\r\n\r\n```js\r\nvar regexp = require('regexp')\r\nvar res = regexp('[a-z]+')\r\nassert.deepEqual(res, { type: 'match',\r\n  offset: 0,\r\n  text: '[a-z]+',\r\n  body:\r\n   [ { type: 'quantified',\r\n       offset: 0,\r\n       text: '[a-z]+',\r\n       body:\r\n        { type: 'charset',\r\n          offset: 0,\r\n          text: '[a-z]',\r\n          invert: false,\r\n          body:\r\n           [ { type: 'range',\r\n               offset: 1,\r\n               text: 'a-z',\r\n               start: 'a',\r\n               end: 'z' } ] },\r\n       quantifier:\r\n        { type: 'quantifier',\r\n          offset: 5,\r\n          text: '+',\r\n          min: 1,\r\n          max: Infinity,\r\n          greedy: true } } ] })\r\n```\r\n\r\n## Contributing\r\n\r\nTo run tests:\r\n\r\n```console\r\n$ npm install\r\n$ npm test\r\n```\r\n\r\nThis will also automatically compile `index.js`.\r\n\r\nThe key source files are `src/grammer.pegjs` which is compiled using [pegjs](http://pegjs.majda.cz/) and `src/index.js` which is a CommonJS module with a special additional pseudo `import` statement.\r\n\r\n## License\r\n\r\n  MIT","readmeFilename":"readme.md","_id":"regexp@0.0.1","dist":{"shasum":"9fd0891af16c3dbf0803ee625820d6c0832b46eb","tarball":"https://registry.npmjs.org/regexp/-/regexp-0.0.1.tgz","integrity":"sha512-2VDE5ro80HlgvhHVzjhUKBiNsQp8ijnvmUjwsMCWJI+9lk2QebdyiQkBwkAHV0CyrsYRqc7fqUl6zCGW0c1LlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCG7mEHpV+Exl8KakJasIupMeWPKn80fjTpiocaGiznXAIhAPg7i0BBEybo2UD8lRMTsa3X+PrWNIcHtveIdOKugDRl"}]},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}]},"0.0.2":{"name":"regexp","version":"0.0.2","description":"Regex Parser","keywords":[],"dependencies":{},"devDependencies":{"uglify-js":"~2.3.6","pegjs":"https://github.com/dmajda/pegjs/archive/798ed6a8a4fbfc36b312ba09d428a5832808d9d6.tar.gz","bash-color":"0.0.3"},"scripts":{"test":"node test/index.js","prepublish":"npm test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/regexp.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","readme":"# regexp\r\n\r\nRegex parser based on descriptions in http://www.javascriptkit.com/javatutors/redev2.shtml\r\n\r\n[![Build Status](https://travis-ci.org/ForbesLindesay/regexp.png?branch=master)](https://travis-ci.org/ForbesLindesay/regexp)\r\n[![Dependency Status](https://gemnasium.com/ForbesLindesay/regexp.png)](https://gemnasium.com/ForbesLindesay/regexp)\r\n[![NPM version](https://badge.fury.io/js/regexp.png)](http://badge.fury.io/js/regexp)\r\n\r\n## Installation\r\n\r\n    npm install regexp\r\n\r\n## Usage\r\n\r\n```js\r\nvar regexp = require('regexp')\r\nvar res = regexp('[a-z]+')\r\nassert.deepEqual(res, { type: 'match',\r\n  offset: 0,\r\n  text: '[a-z]+',\r\n  body:\r\n   [ { type: 'quantified',\r\n       offset: 0,\r\n       text: '[a-z]+',\r\n       body:\r\n        { type: 'charset',\r\n          offset: 0,\r\n          text: '[a-z]',\r\n          invert: false,\r\n          body:\r\n           [ { type: 'range',\r\n               offset: 1,\r\n               text: 'a-z',\r\n               start: 'a',\r\n               end: 'z' } ] },\r\n       quantifier:\r\n        { type: 'quantifier',\r\n          offset: 5,\r\n          text: '+',\r\n          min: 1,\r\n          max: Infinity,\r\n          greedy: true } } ] })\r\n```\r\n\r\n## Contributing\r\n\r\nTo run tests:\r\n\r\n```console\r\n$ npm install\r\n$ npm test\r\n```\r\n\r\nThis will also automatically compile `index.js`.\r\n\r\nThe key source files are `src/grammer.pegjs` which is compiled using [pegjs](http://pegjs.majda.cz/) and `src/index.js` which is a CommonJS module with a special additional pseudo `import` statement.\r\n\r\n## License\r\n\r\n  MIT","readmeFilename":"readme.md","_id":"regexp@0.0.2","dist":{"shasum":"16a432f0e116c6d5550ead704968f9da08e8cc15","tarball":"https://registry.npmjs.org/regexp/-/regexp-0.0.2.tgz","integrity":"sha512-1wuOj2/FBxK9Mkn1CnXlGNi6INfLg/7p8JjFPP2MdU1qXaobkkFBlAyHHNzbadrqR916RsQydpxZ4Kw7+bcx9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmdJSb4EDjqehPhTV24h3+zXpDWFW/vBOK/Y0XcrRSmwIgPx4DVkTdzArWIxKHsIclaHaP+EOqHKY1ar+KI4g0/LA="}]},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}]},"0.0.3":{"name":"regexp","version":"0.0.3","description":"Regex Parser","keywords":[],"dependencies":{},"devDependencies":{"uglify-js":"~2.3.6","pegjs":"https://github.com/dmajda/pegjs/archive/798ed6a8a4fbfc36b312ba09d428a5832808d9d6.tar.gz","bash-color":"0.0.3"},"scripts":{"test":"node test/index.js","prepublish":"npm test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/regexp.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","readme":"# regexp\r\n\r\nRegex parser based on descriptions in http://www.javascriptkit.com/javatutors/redev2.shtml\r\n\r\n[![Build Status](https://travis-ci.org/ForbesLindesay/regexp.png?branch=master)](https://travis-ci.org/ForbesLindesay/regexp)\r\n[![Dependency Status](https://gemnasium.com/ForbesLindesay/regexp.png)](https://gemnasium.com/ForbesLindesay/regexp)\r\n[![NPM version](https://badge.fury.io/js/regexp.png)](http://badge.fury.io/js/regexp)\r\n\r\n## Installation\r\n\r\n    npm install regexp\r\n\r\n## Usage\r\n\r\n```js\r\nvar regexp = require('regexp')\r\nvar res = regexp('[a-z]+')\r\nassert.deepEqual(res, { type: 'match',\r\n  offset: 0,\r\n  text: '[a-z]+',\r\n  body:\r\n   [ { type: 'quantified',\r\n       offset: 0,\r\n       text: '[a-z]+',\r\n       body:\r\n        { type: 'charset',\r\n          offset: 0,\r\n          text: '[a-z]',\r\n          invert: false,\r\n          body:\r\n           [ { type: 'range',\r\n               offset: 1,\r\n               text: 'a-z',\r\n               start: 'a',\r\n               end: 'z' } ] },\r\n       quantifier:\r\n        { type: 'quantifier',\r\n          offset: 5,\r\n          text: '+',\r\n          min: 1,\r\n          max: Infinity,\r\n          greedy: true } } ] })\r\n```\r\n\r\n## Contributing\r\n\r\nTo run tests:\r\n\r\n```console\r\n$ npm install\r\n$ npm test\r\n```\r\n\r\nThis will also automatically compile `index.js`.\r\n\r\nThe key source files are `src/grammer.pegjs` which is compiled using [pegjs](http://pegjs.majda.cz/) and `src/index.js` which is a CommonJS module with a special additional pseudo `import` statement.\r\n\r\n## License\r\n\r\n  MIT","readmeFilename":"readme.md","bugs":{"url":"https://github.com/ForbesLindesay/regexp/issues"},"_id":"regexp@0.0.3","dist":{"shasum":"d10169838aeb4aca5648f6fd9cf171bdf65bc687","tarball":"https://registry.npmjs.org/regexp/-/regexp-0.0.3.tgz","integrity":"sha512-VgSgzoT8Z4dVX1BGJwvr1+aiHGlFkXz2N3SYQTnMzUfDXeh1eRpTL50hE6GqchMSSnullxn3p5Eif16AjWv/xQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGghUTIO8Bv6VZ5idzU+BWu/IlxVZFp4BMPyOO1TXSIYAiBb3f6zd2k07iqVSzZa8CpOg5LECfTsO4XX3m0/L2ey6w=="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}]},"0.0.4":{"name":"regexp","version":"0.0.4","description":"Regex Parser","keywords":[],"dependencies":{},"devDependencies":{"uglify-js":"~2.3.6","pegjs":"https://github.com/dmajda/pegjs/archive/798ed6a8a4fbfc36b312ba09d428a5832808d9d6.tar.gz","bash-color":"0.0.3"},"scripts":{"test":"node test/index.js","prepublish":"npm test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/regexp.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","readme":"# regexp\r\n\r\nRegex parser based on descriptions in http://www.javascriptkit.com/javatutors/redev2.shtml\r\n\r\n[![Build Status](https://travis-ci.org/ForbesLindesay/regexp.png?branch=master)](https://travis-ci.org/ForbesLindesay/regexp)\r\n[![Dependency Status](https://gemnasium.com/ForbesLindesay/regexp.png)](https://gemnasium.com/ForbesLindesay/regexp)\r\n[![NPM version](https://badge.fury.io/js/regexp.png)](http://badge.fury.io/js/regexp)\r\n\r\n## Installation\r\n\r\n    npm install regexp\r\n\r\n## Usage\r\n\r\n```js\r\nvar regexp = require('regexp')\r\nvar res = regexp('[a-z]+')\r\nassert.deepEqual(res, { type: 'match',\r\n  offset: 0,\r\n  text: '[a-z]+',\r\n  body:\r\n   [ { type: 'quantified',\r\n       offset: 0,\r\n       text: '[a-z]+',\r\n       body:\r\n        { type: 'charset',\r\n          offset: 0,\r\n          text: '[a-z]',\r\n          invert: false,\r\n          body:\r\n           [ { type: 'range',\r\n               offset: 1,\r\n               text: 'a-z',\r\n               start: 'a',\r\n               end: 'z' } ] },\r\n       quantifier:\r\n        { type: 'quantifier',\r\n          offset: 5,\r\n          text: '+',\r\n          min: 1,\r\n          max: Infinity,\r\n          greedy: true } } ] })\r\n```\r\n\r\n## Contributing\r\n\r\nTo run tests:\r\n\r\n```console\r\n$ npm install\r\n$ npm test\r\n```\r\n\r\nThis will also automatically compile `index.js`.\r\n\r\nThe key source files are `src/grammer.pegjs` which is compiled using [pegjs](http://pegjs.majda.cz/) and `src/index.js` which is a CommonJS module with a special additional pseudo `import` statement.\r\n\r\n## License\r\n\r\n  MIT","readmeFilename":"readme.md","bugs":{"url":"https://github.com/ForbesLindesay/regexp/issues"},"_id":"regexp@0.0.4","dist":{"shasum":"091422237f369f8e1755e664f6d9fd4a4cf7a117","tarball":"https://registry.npmjs.org/regexp/-/regexp-0.0.4.tgz","integrity":"sha512-h2H8cZAsxnIyL4gXq3FDbO03KlUgxo/TIlzbKq9OzxWfkN9LjwRo2LLe+lvM+giCXUaxQWxJEHhTxYK+OYaEOA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEWiqnAw+lxhv/HU/+I9z0b5DRBAIUfzi3Pp3nTFzNL1AiAWwLsigQhxAa7KmJ0YbH/bi7OSs253zU151aZ9I/OpAg=="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}]},"0.0.5":{"name":"regexp","version":"0.0.5","description":"Regex Parser","keywords":[],"dependencies":{},"devDependencies":{"uglify-js":"~2.3.6","pegjs":"https://github.com/dmajda/pegjs/archive/791034fad92c9cd7a9d1c71187df03441bbfd521.tar.gz","bash-color":"0.0.3"},"scripts":{"test":"node test/index.js","prepublish":"npm test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/regexp.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","readme":"# regexp\r\n\r\nRegex parser based on descriptions in http://www.javascriptkit.com/javatutors/redev2.shtml\r\n\r\n[![Build Status](https://travis-ci.org/ForbesLindesay/regexp.png?branch=master)](https://travis-ci.org/ForbesLindesay/regexp)\r\n[![Dependency Status](https://gemnasium.com/ForbesLindesay/regexp.png)](https://gemnasium.com/ForbesLindesay/regexp)\r\n[![NPM version](https://badge.fury.io/js/regexp.png)](http://badge.fury.io/js/regexp)\r\n\r\n## Installation\r\n\r\n    npm install regexp\r\n\r\n## Usage\r\n\r\n```js\r\nvar regexp = require('regexp')\r\nvar res = regexp('[a-z]+')\r\nassert.deepEqual(res, { type: 'match',\r\n  offset: 0,\r\n  text: '[a-z]+',\r\n  body:\r\n   [ { type: 'quantified',\r\n       offset: 0,\r\n       text: '[a-z]+',\r\n       body:\r\n        { type: 'charset',\r\n          offset: 0,\r\n          text: '[a-z]',\r\n          invert: false,\r\n          body:\r\n           [ { type: 'range',\r\n               offset: 1,\r\n               text: 'a-z',\r\n               start: 'a',\r\n               end: 'z' } ] },\r\n       quantifier:\r\n        { type: 'quantifier',\r\n          offset: 5,\r\n          text: '+',\r\n          min: 1,\r\n          max: Infinity,\r\n          greedy: true } } ] })\r\n```\r\n\r\n## Contributing\r\n\r\nTo run tests:\r\n\r\n```console\r\n$ npm install\r\n$ npm test\r\n```\r\n\r\nThis will also automatically compile `index.js`.\r\n\r\nThe key source files are `src/grammer.pegjs` which is compiled using [pegjs](http://pegjs.majda.cz/) and `src/index.js` which is a CommonJS module with a special additional pseudo `import` statement.\r\n\r\n## License\r\n\r\n  MIT","readmeFilename":"readme.md","bugs":{"url":"https://github.com/ForbesLindesay/regexp/issues"},"_id":"regexp@0.0.5","dist":{"shasum":"5c301f5ed295d3c2ea1fa4057a65a7c187180dbe","tarball":"https://registry.npmjs.org/regexp/-/regexp-0.0.5.tgz","integrity":"sha512-L62F9Bfo16h7ZpCfddzGIOFGpu6OKrSp5A93xI/jY9s+YyQ73PQN+fKu5U7ae5to35XZmMaHQp+XpCXl2YQGrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYdi9uOgyauW1y1PopLHTGDB/GZ9zWLYa4xy5E+nJJRwIhAPF2G4/paw12oM1j+9Gwj9GdAC7eespcKjFdU1E3eMtC"}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}]},"0.0.6":{"name":"regexp","version":"0.0.6","description":"Regex Parser","keywords":[],"dependencies":{},"devDependencies":{"uglify-js":"~2.3.6","pegjs":"https://github.com/dmajda/pegjs/archive/791034fad92c9cd7a9d1c71187df03441bbfd521.tar.gz","bash-color":"0.0.3"},"scripts":{"test":"node test/index.js","prepublish":"npm test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/regexp.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","readme":"# regexp\r\n\r\nRegex parser based on descriptions in http://www.javascriptkit.com/javatutors/redev2.shtml\r\n\r\n[![Build Status](https://travis-ci.org/ForbesLindesay/regexp.png?branch=master)](https://travis-ci.org/ForbesLindesay/regexp)\r\n[![Dependency Status](https://gemnasium.com/ForbesLindesay/regexp.png)](https://gemnasium.com/ForbesLindesay/regexp)\r\n[![NPM version](https://badge.fury.io/js/regexp.png)](http://badge.fury.io/js/regexp)\r\n\r\n## Installation\r\n\r\n    npm install regexp\r\n\r\n## Usage\r\n\r\n```js\r\nvar regexp = require('regexp')\r\nvar res = regexp('[a-z]+')\r\nassert.deepEqual(res, { type: 'match',\r\n  offset: 0,\r\n  text: '[a-z]+',\r\n  body:\r\n   [ { type: 'quantified',\r\n       offset: 0,\r\n       text: '[a-z]+',\r\n       body:\r\n        { type: 'charset',\r\n          offset: 0,\r\n          text: '[a-z]',\r\n          invert: false,\r\n          body:\r\n           [ { type: 'range',\r\n               offset: 1,\r\n               text: 'a-z',\r\n               start: 'a',\r\n               end: 'z' } ] },\r\n       quantifier:\r\n        { type: 'quantifier',\r\n          offset: 5,\r\n          text: '+',\r\n          min: 1,\r\n          max: Infinity,\r\n          greedy: true } } ] })\r\n```\r\n\r\n## Contributing\r\n\r\nTo run tests:\r\n\r\n```console\r\n$ npm install\r\n$ npm test\r\n```\r\n\r\nThis will also automatically compile `index.js`.\r\n\r\nThe key source files are `src/grammer.pegjs` which is compiled using [pegjs](http://pegjs.majda.cz/) and `src/index.js` which is a CommonJS module with a special additional pseudo `import` statement.\r\n\r\n## License\r\n\r\n  MIT","readmeFilename":"readme.md","bugs":{"url":"https://github.com/ForbesLindesay/regexp/issues"},"_id":"regexp@0.0.6","dist":{"shasum":"0a537d1a867913adaf308f660bdb045d50c77171","tarball":"https://registry.npmjs.org/regexp/-/regexp-0.0.6.tgz","integrity":"sha512-3AkW+GWNbg+72nKQciGT7+yLqZiXWCmWAZ2NtEDbFjKatTB9odavhcY1yvMH80E5KO+/+RG8RePto/pQFUUO9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHgh354fge61B7jWmlBFUmevcxciEm/YyFhbRU0yp3VlAiEAjim+eDSCEB1JNYZM0pbwrYvktfUW82iRpUVbE6X+vjk="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}]},"1.0.0":{"name":"regexp","version":"1.0.0","description":"Regex Parser","keywords":[],"dependencies":{},"devDependencies":{"uglify-js":"~2.3.6","pegjs":"https://github.com/dmajda/pegjs/archive/791034fad92c9cd7a9d1c71187df03441bbfd521.tar.gz","bash-color":"0.0.3"},"scripts":{"test":"node test/index.js","prepublish":"npm test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/regexp.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","readme":"# regexp\r\n\r\nRegex parser based on descriptions in http://www.javascriptkit.com/javatutors/redev2.shtml\r\n\r\n[![Build Status](https://travis-ci.org/ForbesLindesay/regexp.png?branch=master)](https://travis-ci.org/ForbesLindesay/regexp)\r\n[![Dependency Status](https://gemnasium.com/ForbesLindesay/regexp.png)](https://gemnasium.com/ForbesLindesay/regexp)\r\n[![NPM version](https://badge.fury.io/js/regexp.png)](http://badge.fury.io/js/regexp)\r\n\r\n## Installation\r\n\r\n    npm install regexp\r\n\r\n## Usage\r\n\r\n```js\r\nvar regexp = require('regexp')\r\nvar res = regexp('[a-z]+')\r\nassert.deepEqual(res, { type: 'match',\r\n  offset: 0,\r\n  text: '[a-z]+',\r\n  body:\r\n   [ { type: 'quantified',\r\n       offset: 0,\r\n       text: '[a-z]+',\r\n       body:\r\n        { type: 'charset',\r\n          offset: 0,\r\n          text: '[a-z]',\r\n          invert: false,\r\n          body:\r\n           [ { type: 'range',\r\n               offset: 1,\r\n               text: 'a-z',\r\n               start: 'a',\r\n               end: 'z' } ] },\r\n       quantifier:\r\n        { type: 'quantifier',\r\n          offset: 5,\r\n          text: '+',\r\n          min: 1,\r\n          max: Infinity,\r\n          greedy: true } } ] })\r\n```\r\n\r\n## Contributing\r\n\r\nTo run tests:\r\n\r\n```console\r\n$ npm install\r\n$ npm test\r\n```\r\n\r\nThis will also automatically compile `index.js`.\r\n\r\nThe key source files are `src/grammer.pegjs` which is compiled using [pegjs](http://pegjs.majda.cz/) and `src/index.js` which is a CommonJS module with a special additional pseudo `import` statement.\r\n\r\n## License\r\n\r\n  MIT","readmeFilename":"readme.md","bugs":{"url":"https://github.com/ForbesLindesay/regexp/issues"},"_id":"regexp@1.0.0","dist":{"shasum":"53347a61dec0451463229cc21c5660c756aed700","tarball":"https://registry.npmjs.org/regexp/-/regexp-1.0.0.tgz","integrity":"sha512-joutOgQ0Zx9S3+9URDOwpyfEPVx0tLxvKaIhFq9KV8j5JzIMaOpCT8v+a8cKdYsk/SwSztuyDMl5m1Q7QonIgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwbhH5zN+GvGyqJUfuxXYOclIwCuJhxD2T10CIhX75hAIgBaS1rfXtYeogxOL3e9p2WAjkLR+jS+7tDQp1JGHJgcA="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}]}},"readme":"# regexp\r\n\r\nRegex parser based on descriptions in http://www.javascriptkit.com/javatutors/redev2.shtml\r\n\r\n[![Build Status](https://travis-ci.org/ForbesLindesay/regexp.png?branch=master)](https://travis-ci.org/ForbesLindesay/regexp)\r\n[![Dependency Status](https://gemnasium.com/ForbesLindesay/regexp.png)](https://gemnasium.com/ForbesLindesay/regexp)\r\n[![NPM version](https://badge.fury.io/js/regexp.png)](http://badge.fury.io/js/regexp)\r\n\r\n## Installation\r\n\r\n    npm install regexp\r\n\r\n## Usage\r\n\r\n```js\r\nvar regexp = require('regexp')\r\nvar res = regexp('[a-z]+')\r\nassert.deepEqual(res, { type: 'match',\r\n  offset: 0,\r\n  text: '[a-z]+',\r\n  body:\r\n   [ { type: 'quantified',\r\n       offset: 0,\r\n       text: '[a-z]+',\r\n       body:\r\n        { type: 'charset',\r\n          offset: 0,\r\n          text: '[a-z]',\r\n          invert: false,\r\n          body:\r\n           [ { type: 'range',\r\n               offset: 1,\r\n               text: 'a-z',\r\n               start: 'a',\r\n               end: 'z' } ] },\r\n       quantifier:\r\n        { type: 'quantifier',\r\n          offset: 5,\r\n          text: '+',\r\n          min: 1,\r\n          max: Infinity,\r\n          greedy: true } } ] })\r\n```\r\n\r\n## Contributing\r\n\r\nTo run tests:\r\n\r\n```console\r\n$ npm install\r\n$ npm test\r\n```\r\n\r\nThis will also automatically compile `index.js`.\r\n\r\nThe key source files are `src/grammer.pegjs` which is compiled using [pegjs](http://pegjs.majda.cz/) and `src/index.js` which is a CommonJS module with a special additional pseudo `import` statement.\r\n\r\n## License\r\n\r\n  MIT","maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"time":{"modified":"2022-06-26T10:44:01.665Z","created":"2013-07-21T02:54:06.390Z","0.0.1":"2013-07-21T02:54:08.616Z","0.0.2":"2013-07-21T14:00:57.519Z","0.0.3":"2013-08-06T04:24:35.958Z","0.0.4":"2013-08-06T05:50:19.815Z","0.0.5":"2013-08-06T13:48:11.129Z","0.0.6":"2013-08-06T15:24:11.344Z","1.0.0":"2013-08-07T01:40:09.986Z"},"author":{"name":"ForbesLindesay"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/regexp.git"},"users":{"mpinteractiv":true,"tmyers":true,"lfilipowicz":true,"bluelovers":true}}