{"_id":"regexp-polyfill","_rev":"5-9132ef8f8bc848b1f8f701077566659f","name":"regexp-polyfill","description":"Polyfill RegExp : Named capture","dist-tags":{"latest":"1.0.1"},"versions":{"0.1.0":{"name":"regexp-polyfill","version":"0.1.0","description":"Polyfill RegExp : Named capture","main":"regexp-polyfill.js","scripts":{"start":"npm run min","min":"uglifyjs regexp-polyfill.js --stats -m -o regexp-polyfill.min.js","test":"mocha ./tests/test.js","serve":"http-server  ./"},"repository":{"type":"git","url":"git+https://github.com/lifaon74/regexp-polyfill.git"},"author":{"name":"valentin"},"license":"MIT","devDependencies":{"http-server":"^0.9.0","mocha":"^3.2.0","selenium-webdriver":"^3.3.0","uglify-js":"^2.7.5"},"gitHead":"5983940de8586b77aa88c8a22086345383a278cf","bugs":{"url":"https://github.com/lifaon74/regexp-polyfill/issues"},"homepage":"https://github.com/lifaon74/regexp-polyfill#readme","_id":"regexp-polyfill@0.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"lifaon74","email":"contact@valentin-richard.com"},"maintainers":[{"name":"lifaon74","email":"contact@valentin-richard.com"}],"dist":{"integrity":"sha512-+JaXh0ASiLjtooCVyNuOKinm+8TfWw3CRr07HpgqVu3BqWK3MU6rFVXD10x4zeVc6XDwSsIUee3v3ewIHq6YLg==","shasum":"d3c8003a30e01716efa99ba50e395a2391f7d5de","tarball":"https://registry.npmjs.org/regexp-polyfill/-/regexp-polyfill-0.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+pBBLCfE8MhCu4qI6ju0yK6mHVl6cDOGt8gRUqt33hwIhAK+LYwg0oc/VMEZOeKejFA4mH9qcPows2KCjJfEyPGXd"}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regexp-polyfill-0.1.0.tgz_1509547570592_0.6066179862245917"},"directories":{}},"0.1.1":{"name":"regexp-polyfill","version":"0.1.1","description":"Polyfill RegExp : Named capture","main":"regexp-polyfill.js","scripts":{"start":"npm run min","min":"uglifyjs regexp-polyfill.js --stats -m -o regexp-polyfill.min.js","test":"mocha ./tests/test.js","serve":"http-server  ./"},"repository":{"type":"git","url":"git+https://github.com/lifaon74/regexp-polyfill.git"},"author":{"name":"valentin"},"license":"MIT","devDependencies":{"http-server":"^0.9.0","mocha":"^3.2.0","selenium-webdriver":"^3.3.0","uglify-js":"^2.7.5"},"gitHead":"c53ec2c4c70aca27c8d69ef5b28957b72a3a2b5f","bugs":{"url":"https://github.com/lifaon74/regexp-polyfill/issues"},"homepage":"https://github.com/lifaon74/regexp-polyfill#readme","_id":"regexp-polyfill@0.1.1","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"lifaon74","email":"contact@valentin-richard.com"},"maintainers":[{"name":"lifaon74","email":"contact@valentin-richard.com"}],"dist":{"integrity":"sha512-U3fvHjZhPdVElsAKQ3xWYz0x243f3FHh0GAVReM4ETjKddPf0BkkBaW/8Rfk/6+06hhHCxhIdjPkXQ9RHCaMlg==","shasum":"ea044ace0b2321a8fb298382c42db4a338510b16","tarball":"https://registry.npmjs.org/regexp-polyfill/-/regexp-polyfill-0.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEOSqt73qA2KPPncTyjINjyLhn587tg1yS5SYTU7SFK7AiEA+CfLn8FRQzVE8nqWXR53hue7CNl5qGVD1kG40gNOwAI="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regexp-polyfill-0.1.1.tgz_1510070595200_0.2802375277969986"},"directories":{}},"1.0.0":{"name":"regexp-polyfill","version":"1.0.0","description":"Polyfill RegExp : Named capture","main":"regexp-polyfill.js","scripts":{"start":"npm run min","min":"uglifyjs regexp-polyfill.js --stats -m -o regexp-polyfill.min.js","test":"mocha ./tests/test.js","serve":"http-server  ./"},"repository":{"type":"git","url":"git+https://github.com/lifaon74/regexp-polyfill.git"},"author":{"name":"valentin"},"license":"MIT","devDependencies":{"http-server":"^0.9.0","mocha":"^3.2.0","selenium-webdriver":"^3.3.0","uglify-js":"^2.7.5"},"gitHead":"a511dd82d68e1baea55e910e6a55a530d84c6f52","bugs":{"url":"https://github.com/lifaon74/regexp-polyfill/issues"},"homepage":"https://github.com/lifaon74/regexp-polyfill#readme","_id":"regexp-polyfill@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"lifaon74","email":"contact@valentin-richard.com"},"maintainers":[{"name":"lifaon74","email":"contact@valentin-richard.com"}],"dist":{"integrity":"sha512-QeWVVazgwdvhBdwpjHyhksEOA7IEFXCNP/UNZyYIeEidP9bN0+wQ5ltqagO5iDaaCM0Bvf1c/ejff2rHdhOFYQ==","shasum":"b76a0ae6853e83ff3ce8967ae2156dce1985a257","tarball":"https://registry.npmjs.org/regexp-polyfill/-/regexp-polyfill-1.0.0.tgz","fileCount":4,"unpackedSize":12644,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICpOTAmOSgL8ZiDveWljsLmLkc90OgcLraAiVxN6UnV9AiAnUSoJGZIpdN4E0+DK0qAi6KshbfYBFsqfW7jxOlj86g=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regexp-polyfill_1.0.0_1518793436011_0.30833948501112984"},"_hasShrinkwrap":false},"1.0.1":{"name":"regexp-polyfill","version":"1.0.1","description":"Polyfill RegExp : Named capture","main":"regexp-polyfill.js","scripts":{"start":"npm run min","min":"uglifyjs regexp-polyfill.js --stats -m -o regexp-polyfill.min.js","test":"mocha ./tests/test.js","serve":"http-server  ./"},"repository":{"type":"git","url":"git+https://github.com/lifaon74/regexp-polyfill.git"},"author":{"name":"valentin"},"license":"MIT","devDependencies":{"http-server":"^0.9.0","mocha":"^3.2.0","selenium-webdriver":"^3.3.0","uglify-js":"^2.7.5"},"gitHead":"daa35244415b20de4624d84ee5a63e527fa3c437","bugs":{"url":"https://github.com/lifaon74/regexp-polyfill/issues"},"homepage":"https://github.com/lifaon74/regexp-polyfill#readme","_id":"regexp-polyfill@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"lifaon74","email":"contact@valentin-richard.com"},"maintainers":[{"name":"lifaon74","email":"contact@valentin-richard.com"}],"dist":{"integrity":"sha512-kyYqOUpy+/MYja6oXu8kNHO2f0BfN/7cb3X3xn2rRGDY8rUUsrti97+BO46TlTOhxDaY7t6AyFERue5x+ZRvcA==","shasum":"2b2887c3eb15072ba63a4a4186f950910527e3e7","tarball":"https://registry.npmjs.org/regexp-polyfill/-/regexp-polyfill-1.0.1.tgz","fileCount":4,"unpackedSize":12934,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBY83JPEJmPQXDUF//XW+uVvOqGutcSRH4gXrfD3GR70AiAkGWCKjY3rYpMggSsoRpjxtUae4VYICXKmNFiqXhRZPw=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regexp-polyfill_1.0.1_1518797072519_0.1739863991278201"},"_hasShrinkwrap":false}},"readme":"### Polyfill RegExp to support named captures\r\n\r\nTested on IE 10+\r\n\r\n#### Install\r\n```\r\nnpm i regexp-polyfill --save\r\n```\r\n\r\n#### Documentation\r\n[upcoming-regexp-features](https://developers.google.com/web/updates/2017/07/upcoming-regexp-features)\r\n\r\n*WARN* The polyfill only works when creating RegExp with new. The syntax `/pattern/flags`won't work !\r\n\r\nCurrently only named captures are polyfilled.\r\n\r\n#### Example:\r\n```js\r\nconst pattern = new RegExp(?<year>\\d{4})-(?<month>\\d{2})-(?<day>\\d{2}));\r\nconst result = pattern.exec('2017-07-10');\r\n// result.groups.year === '2017'\r\n// result.groups.month === '07'\r\n// result.groups.day === '10'\r\n```\r\n","maintainers":[{"name":"lifaon74","email":"contact@valentin-richard.com"}],"time":{"modified":"2022-05-15T17:01:58.155Z","created":"2017-11-01T14:46:11.544Z","0.1.0":"2017-11-01T14:46:11.544Z","0.1.1":"2017-11-07T16:03:15.350Z","1.0.0":"2018-02-16T15:03:56.058Z","1.0.1":"2018-02-16T16:04:32.569Z"},"homepage":"https://github.com/lifaon74/regexp-polyfill#readme","repository":{"type":"git","url":"git+https://github.com/lifaon74/regexp-polyfill.git"},"author":{"name":"valentin"},"bugs":{"url":"https://github.com/lifaon74/regexp-polyfill/issues"},"license":"MIT","readmeFilename":"README.md"}