{"_id":"regextras","_rev":"276431","name":"regextras","description":"Array extras for regular expressions","dist-tags":{"latest":"0.8.0"},"maintainers":[{"name":"brettz9","email":"brettz9@yahoo.com"},{"name":"npm:brettz9","email":""}],"time":{"modified":"2021-06-03T18:02:31.000Z","created":"2015-02-03T19:47:45.049Z","0.8.0":"2021-05-24T12:20:33.330Z","0.7.1":"2020-05-10T14:31:38.754Z","0.7.0":"2019-12-17T12:12:39.387Z","0.6.1":"2019-07-09T04:39:45.834Z","0.6.0":"2019-07-09T02:57:52.713Z","0.5.0":"2019-06-04T01:03:19.618Z","0.4.0":"2018-04-25T08:08:51.634Z","0.3.0":"2018-04-24T14:22:38.895Z","0.2.1":"2016-04-11T06:44:38.131Z","0.2.0":"2016-04-11T06:22:52.606Z","0.1.1":"2015-02-03T22:42:50.185Z","0.1.0":"2015-02-03T19:47:45.049Z"},"users":{},"author":{"name":"Brett Zamir"},"repository":{"type":"git","url":"git+https://github.com/brettz9/regextras.git"},"versions":{"0.8.0":{"name":"regextras","version":"0.8.0","license":"MIT","author":{"name":"Brett Zamir"},"contributors":[],"repository":{"type":"git","url":"git+https://github.com/brettz9/regextras.git"},"homepage":"https://github.com/brettz9/regextras","bugs":{"url":"https://github.com/brettz9/regextras/issues"},"scripts":{"eslint":"eslint --ext=js,md,html .","lint":"npm run eslint","rollup":"rollup -c","start":"static -p 8081","coverage":"open-cli http://localhost:8081/coverage && npm start","mocha":"mocha --require esm --require chai/register-assert --require chai/register-expect test/test.*.js --exit","nyc":"rm -Rf ./node_modules/.cache && nyc npm run mocha","test":"npm run eslint && npm run rollup && npm run nyc","test-browser":"npm run eslint && npm run rollup && open-cli http://127.0.0.1:8081/tests/regextras.html && npm start"},"nyc":{"reporter":["html","text"],"exclude":[".eslintrc.js","rollup.config.js","dist","node_modules","test","tests"]},"browserslist":["cover 100%"],"main":"dist/index-umd.js","module":"dist/index-es.js","keywords":["regex","regexp","regular expression"],"description":"Array extras for regular expressions","engines":{"node":">=0.1.14"},"dependencies":{},"devDependencies":{"@babel/core":"^7.14.3","@babel/preset-env":"^7.14.2","@brettz9/eslint-plugin":"^1.0.3","@brettz9/node-static":"^0.1.1","@rollup/plugin-babel":"^5.3.0","chai":"^4.3.4","core-js-bundle":"^3.12.1","eslint":"^7.27.0","eslint-config-ash-nazg":"^29.16.0","eslint-config-standard":"^16.0.2","eslint-plugin-array-func":"^3.1.7","eslint-plugin-chai-expect":"^2.2.0","eslint-plugin-chai-friendly":"^0.7.1","eslint-plugin-compat":"^3.9.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-html":"^6.1.2","eslint-plugin-import":"^2.23.3","eslint-plugin-jsdoc":"^35.0.0","eslint-plugin-markdown":"^2.1.0","eslint-plugin-no-unsanitized":"^3.1.5","eslint-plugin-no-use-extend-native":"^0.5.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^5.1.0","eslint-plugin-radar":"^0.2.1","eslint-plugin-standard":"^4.1.0","eslint-plugin-unicorn":"^32.0.1","esm":"^3.2.25","mocha":"^8.4.0","nyc":"^15.1.0","open-cli":"^6.0.1","regenerator-runtime":"^0.13.7","rollup":"2.49.0","rollup-plugin-terser":"^7.0.2"},"gitHead":"2eca7bd2e81d891c63f5915157cd7b177395e26a","_id":"regextras@0.8.0","_nodeVersion":"14.15.5","_npmVersion":"7.13.0","dist":{"shasum":"ec0f99853d4912839321172f608b544814b02217","size":65988,"noattachment":false,"key":"/regextras/-/regextras-0.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/regextras/download/regextras-0.8.0.tgz"},"_npmUser":{"name":"brettz9","email":"brettz9@yahoo.com"},"directories":{},"maintainers":[{"name":"brettz9","email":"brettz9@yahoo.com"},{"name":"npm:brettz9","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regextras_0.8.0_1621858833118_0.5147473620456904"},"_hasShrinkwrap":false,"publish_time":1621858833330,"_cnpm_publish_time":1621858833330},"0.7.1":{"name":"regextras","version":"0.7.1","license":"MIT","author":{"name":"Brett Zamir"},"contributors":[],"repository":{"type":"git","url":"git+https://github.com/brettz9/regextras.git"},"homepage":"https://github.com/brettz9/regextras","bugs":{"url":"https://github.com/brettz9/regextras/issues"},"scripts":{"eslint":"eslint --ext=js,md,html .","rollup":"rollup -c","start":"static -p 8081","coverage":"open-cli http://localhost:8081/coverage && npm start","mocha":"mocha --require esm --require test/node-env.js test/test.*.js --exit","mocha-cov":"nyc npm run mocha","test-cov":"npm run eslint && npm run rollup && npm run mocha-cov","test":"npm run eslint && npm run rollup && npm run mocha","test-browser":"npm run eslint && npm run rollup && open-cli http://127.0.0.1:8081/tests/regextras.html && npm start"},"nyc":{"reporter":["html","text"],"exclude":[".eslintrc.js","rollup.config.js","dist","node_modules","test","tests"]},"browserslist":["cover 100%"],"main":"dist/index-umd.js","module":"dist/index-es.js","keywords":["regex","regexp","regular expression"],"description":"Array extras for regular expressions","engines":{"node":">=0.1.14"},"dependencies":{},"devDependencies":{"@babel/core":"^7.9.6","@babel/preset-env":"^7.9.6","@mysticatea/eslint-plugin":"^13.0.0","@rollup/plugin-babel":"^5.0.0","chai":"^4.2.0","core-js-bundle":"^3.6.5","eslint":"^7.0.0","eslint-config-ash-nazg":"^21.0.0","eslint-config-standard":"^14.1.1","eslint-plugin-array-func":"^3.1.5","eslint-plugin-chai-expect":"^2.1.0","eslint-plugin-chai-friendly":"^0.6.0","eslint-plugin-compat":"^3.5.1","eslint-plugin-eslint-comments":"^3.1.2","eslint-plugin-html":"^6.0.2","eslint-plugin-import":"^2.20.2","eslint-plugin-jsdoc":"^25.0.1","eslint-plugin-markdown":"^1.0.2","eslint-plugin-no-use-extend-native":"^0.5.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-sonarjs":"^0.5.0","eslint-plugin-standard":"^4.0.1","eslint-plugin-unicorn":"^19.0.1","esm":"^3.2.25","mocha":"^7.1.2","node-static":"^0.7.11","nyc":"^15.0.1","open-cli":"^6.0.1","regenerator-runtime":"^0.13.5","remark-lint":"7.0.0","rollup":"2.8.2","rollup-plugin-terser":"^5.3.0","typescript":"^3.8.3"},"gitHead":"aef3e6ee7add1740e8491f6c2536df4e6c5f6340","_id":"regextras@0.7.1","_nodeVersion":"12.16.2","_npmVersion":"6.14.5","dist":{"shasum":"be95719d5f43f9ef0b9fa07ad89b7c606995a3b2","size":14522,"noattachment":false,"key":"/regextras/-/regextras-0.7.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/regextras/download/regextras-0.7.1.tgz"},"maintainers":[{"name":"brettz9","email":"brettz9@yahoo.com"},{"name":"npm:brettz9","email":""}],"_npmUser":{"name":"brettz9","email":"brettz9@yahoo.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regextras_0.7.1_1589121098659_0.2875793092685037"},"_hasShrinkwrap":false,"publish_time":1589121098754,"_cnpm_publish_time":1589121098754},"0.7.0":{"name":"regextras","version":"0.7.0","license":"MIT","author":{"name":"Brett Zamir"},"contributors":[],"repository":{"type":"git","url":"git+https://github.com/brettz9/regextras.git"},"homepage":"https://github.com/brettz9/regextras","bugs":{"url":"https://github.com/brettz9/regextras/issues"},"scripts":{"eslint":"eslint --ext=js,md,html .","rollup":"rollup -c","start":"static -p 8081","coverage":"open-cli http://localhost:8081/coverage && npm start","mocha":"mocha --require esm --require test/node-env.js test/test.*.js --exit","mocha-cov":"nyc npm run mocha","test-cov":"npm run eslint && npm run rollup && npm run mocha-cov","test":"npm run eslint && npm run rollup && npm run mocha","test-browser":"npm run eslint && npm run rollup && open-cli http://127.0.0.1:8081/tests/regextras.html && npm start"},"nyc":{"reporter":["html","text"],"exclude":[".eslintrc.js","rollup.config.js","dist","node_modules","test","tests"]},"browserslist":["cover 100%"],"main":"dist/index-umd.js","module":"dist/index-es.js","keywords":["regex","regexp","regular expression"],"description":"Array extras for regular expressions","engines":{"node":">=0.1.14"},"dependencies":{},"devDependencies":{"@babel/core":"^7.7.5","@babel/preset-env":"^7.7.6","@mysticatea/eslint-plugin":"^13.0.0","chai":"^4.2.0","core-js-bundle":"^3.5.0","eslint":"^6.7.2","eslint-config-ash-nazg":"^13.1.0","eslint-config-standard":"^14.1.0","eslint-plugin-array-func":"^3.1.3","eslint-plugin-chai-expect":"^2.1.0","eslint-plugin-chai-friendly":"^0.5.0","eslint-plugin-compat":"^3.3.0","eslint-plugin-eslint-comments":"^3.1.2","eslint-plugin-html":"^6.0.0","eslint-plugin-import":"^2.19.1","eslint-plugin-jsdoc":"^18.4.3","eslint-plugin-markdown":"^1.0.1","eslint-plugin-no-use-extend-native":"^0.4.1","eslint-plugin-node":"^10.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-sonarjs":"^0.5.0","eslint-plugin-standard":"^4.0.1","eslint-plugin-unicorn":"^14.0.1","esm":"^3.2.25","mocha":"^6.2.2","node-static":"^0.7.11","nyc":"^14.1.1","open-cli":"^5.0.0","regenerator-runtime":"^0.13.3","remark-lint":"6.0.5","rollup":"1.27.13","rollup-plugin-babel":"^4.3.3","rollup-plugin-terser":"^5.1.3","typescript":"^3.7.3"},"gitHead":"7885a7991f8e0ab4c354341b52479c5363de7214","_id":"regextras@0.7.0","_nodeVersion":"10.16.3","_npmVersion":"6.13.4","dist":{"shasum":"2298bef8cfb92b1b7e3b9b12aa8f69547b7d71e4","size":14388,"noattachment":false,"key":"/regextras/-/regextras-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/regextras/download/regextras-0.7.0.tgz"},"maintainers":[{"name":"brettz9","email":"brettz9@yahoo.com"},{"name":"npm:brettz9","email":""}],"_npmUser":{"name":"brettz9","email":"brettz9@yahoo.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regextras_0.7.0_1576584759242_0.40533279196153704"},"_hasShrinkwrap":false,"publish_time":1576584759387,"_cnpm_publish_time":1576584759387},"0.6.1":{"name":"regextras","version":"0.6.1","license":"MIT","author":{"name":"Brett Zamir"},"contributors":[],"repository":{"type":"git","url":"git+https://github.com/brettz9/regextras.git"},"homepage":"https://github.com/brettz9/regextras","bugs":{"url":"https://github.com/brettz9/regextras/issues"},"scripts":{"eslint":"eslint .","rollup":"rollup -c","mocha":"mocha --require test/node-env.js test/test.*.js","test":"npm run eslint && npm run rollup && npm run mocha","test-browser":"npm run eslint && npm run rollup && open-cli http://127.0.0.1:8081/tests/regextras.html && static -p 8081"},"browserslist":["cover 100%"],"main":"dist/index-umd.js","module":"dist/index-es.js","keywords":["regex","regexp","regular expression"],"description":"Array extras for regular expressions","engines":{"node":"*"},"dependencies":{},"devDependencies":{"@babel/core":"^7.5.0","@babel/preset-env":"^7.5.2","@mysticatea/eslint-plugin":"^11.0.0","chai":"^4.2.0","core-js-bundle":"^3.1.4","eslint":"^6.0.1","eslint-config-ash-nazg":"^8.2.0","eslint-config-standard":"^12.0.0","eslint-plugin-array-func":"^3.1.3","eslint-plugin-compat":"^3.2.0","eslint-plugin-eslint-comments":"^3.1.2","eslint-plugin-html":"^6.0.0","eslint-plugin-import":"^2.18.0","eslint-plugin-jsdoc":"^15.3.0","eslint-plugin-markdown":"^1.0.0","eslint-plugin-no-use-extend-native":"^0.4.1","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-sonarjs":"^0.4.0","eslint-plugin-standard":"^4.0.0","eslint-plugin-unicorn":"^9.1.1","mocha":"^6.1.4","node-static":"^0.7.11","open-cli":"^5.0.0","regenerator-runtime":"^0.13.2","remark-lint":"6.0.5","rollup":"1.16.6","rollup-plugin-babel":"^4.3.3","rollup-plugin-terser":"^5.1.1","typescript":"^3.5.3"},"gitHead":"e0dd9edbb3b8442d93556ad9e8967bdd0408b7a5","_id":"regextras@0.6.1","_nodeVersion":"10.11.0","_npmVersion":"6.10.0","dist":{"shasum":"9689641bbb338e0ff7001a5c507c6a2008df7b36","size":14172,"noattachment":false,"key":"/regextras/-/regextras-0.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/regextras/download/regextras-0.6.1.tgz"},"maintainers":[{"name":"brettz9","email":"brettz9@yahoo.com"},{"name":"npm:brettz9","email":""}],"_npmUser":{"name":"brettz9","email":"brettz9@yahoo.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regextras_0.6.1_1562647185712_0.33150187229946826"},"_hasShrinkwrap":false,"publish_time":1562647185834,"_cnpm_publish_time":1562647185834},"0.6.0":{"name":"regextras","version":"0.6.0","license":"MIT","author":{"name":"Brett Zamir"},"contributors":[],"repository":{"type":"git","url":"git+https://github.com/brettz9/regextras.git"},"homepage":"https://github.com/brettz9/regextras","bugs":{"url":"https://github.com/brettz9/regextras/issues"},"scripts":{"eslint":"eslint .","rollup":"rollup -c","mocha":"mocha --require test/node-env.js test/test.*.js","test":"npm run eslint && npm run rollup && npm run mocha","test-browser":"npm run eslint && npm run rollup && open-cli http://127.0.0.1:8081/tests/regextras.html && static -p 8081"},"browserslist":["cover 100%"],"main":"dist/index-umd.js","module":"dist/index-es.js","keywords":["regex","regexp","regular expression"],"description":"Array extras for regular expressions","engines":{"node":"*"},"peerDependencies":{"core-js-bundle":"^3.1.4","regenerator-runtime":"^0.13.2"},"dependencies":{},"devDependencies":{"@babel/core":"^7.5.0","@babel/preset-env":"^7.5.2","@mysticatea/eslint-plugin":"^11.0.0","chai":"^4.2.0","core-js-bundle":"^3.1.4","eslint":"^6.0.1","eslint-config-ash-nazg":"^8.2.0","eslint-config-standard":"^12.0.0","eslint-plugin-array-func":"^3.1.3","eslint-plugin-compat":"^3.2.0","eslint-plugin-eslint-comments":"^3.1.2","eslint-plugin-html":"^6.0.0","eslint-plugin-import":"^2.18.0","eslint-plugin-jsdoc":"^15.3.0","eslint-plugin-markdown":"^1.0.0","eslint-plugin-no-use-extend-native":"^0.4.1","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-sonarjs":"^0.4.0","eslint-plugin-standard":"^4.0.0","eslint-plugin-unicorn":"^9.1.1","mocha":"^6.1.4","node-static":"^0.7.11","open-cli":"^5.0.0","regenerator-runtime":"^0.13.2","remark-lint":"6.0.5","rollup":"1.16.6","rollup-plugin-babel":"^4.3.3","rollup-plugin-terser":"^5.1.1","typescript":"^3.5.3"},"gitHead":"930e1f382c16e30dc43cffc73059bbcea16405e6","_id":"regextras@0.6.0","_nodeVersion":"10.11.0","_npmVersion":"6.10.0","dist":{"shasum":"330b2e35924dd5c79d8db662650cafa7fc4b6082","size":14158,"noattachment":false,"key":"/regextras/-/regextras-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/regextras/download/regextras-0.6.0.tgz"},"maintainers":[{"name":"brettz9","email":"brettz9@yahoo.com"},{"name":"npm:brettz9","email":""}],"_npmUser":{"name":"brettz9","email":"brettz9@yahoo.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regextras_0.6.0_1562641072600_0.43285156131842806"},"_hasShrinkwrap":false,"publish_time":1562641072713,"_cnpm_publish_time":1562641072713},"0.5.0":{"name":"regextras","version":"0.5.0","license":"MIT","author":{"name":"Brett Zamir"},"contributors":[],"repository":{"type":"git","url":"git+https://github.com/brettz9/regextras.git"},"homepage":"https://github.com/brettz9/regextras","bugs":{"url":"https://github.com/brettz9/regextras/issues"},"scripts":{"eslint":"eslint .","rollup":"rollup -c","mocha":"mocha --require test/node-env.js test/test.*.js","test":"npm run eslint && npm run rollup && npm run mocha","test-browser":"npm run eslint && npm run rollup && open-cli http://127.0.0.1:8081/tests/regextras.html && static -p 8081"},"browserslist":["cover 100%"],"main":"dist/index-umd.js","module":"dist/index-es.js","keywords":["regex","regexp","regular expression"],"description":"Array extras for regular expressions","engines":{"node":"*"},"peerDependencies":{"core-js-bundle":"^3.1.3","regenerator-runtime":"^0.13.2"},"dependencies":{},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","chai":"^4.2.0","core-js-bundle":"^3.1.3","eslint":"5.16.0","eslint-config-standard":"12.0.0","eslint-plugin-import":"2.17.3","eslint-plugin-node":"9.1.0","eslint-plugin-promise":"4.1.1","eslint-plugin-standard":"4.0.0","mocha":"^6.1.4","node-static":"^0.7.11","open-cli":"^5.0.0","regenerator-runtime":"^0.13.2","remark-lint":"6.0.4","rollup":"1.13.1","rollup-plugin-babel":"^4.3.2","rollup-plugin-terser":"^5.0.0"},"gitHead":"1cbbb1c2bfc7ca379c57ce1dc02f94c8b7130d87","_id":"regextras@0.5.0","_nodeVersion":"10.11.0","_npmVersion":"6.9.0","dist":{"shasum":"f5cb0120c2dfa02e273e1e57e996d011121d70a9","size":13336,"noattachment":false,"key":"/regextras/-/regextras-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/regextras/download/regextras-0.5.0.tgz"},"maintainers":[{"name":"brettz9","email":"brettz9@yahoo.com"},{"name":"npm:brettz9","email":""}],"_npmUser":{"name":"brettz9","email":"brettz9@yahoo.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regextras_0.5.0_1559610199413_0.15525107534220894"},"_hasShrinkwrap":false,"publish_time":1559610199618,"_cnpm_publish_time":1559610199618},"0.4.0":{"name":"regextras","version":"0.4.0","license":"MIT","author":{"name":"Brett Zamir"},"contributors":[],"repository":{"type":"git","url":"git+https://github.com/brettz9/regextras.git"},"homepage":"https://github.com/brettz9/regextras","bugs":{"url":"https://github.com/brettz9/regextras/issues"},"scripts":{"eslint":"eslint .","rollup":"rollup -c","nodeunit":"nodeunit test","test":"npm run eslint && npm run rollup && npm run nodeunit","test-browser":"npm run eslint && npm run rollup && opn http://127.0.0.1:8081/tests/regextras.html && static -p 8081"},"id":"regextras@brett.zamir","main":"dist/index-umd.js","module":"dist/index-es.js","keywords":["regex","regexp","regular expression"],"description":"Array extras for regular expressions","engines":{"node":"*"},"dependencies":{},"devDependencies":{"babel-core":"^6.26.0","eslint":"4.19.1","eslint-config-standard":"11.0.0","eslint-plugin-import":"2.11.0","eslint-plugin-node":"6.0.1","eslint-plugin-promise":"3.7.0","eslint-plugin-standard":"3.1.0","node-static":"^0.7.10","nodeunit":"0.11.2","opn-cli":"^3.1.0","remark-lint":"6.0.1","rollup":"0.58.2","rollup-plugin-babel":"^3.0.4","rollup-plugin-uglify":"^3.0.0","uglify-es":"^3.3.9"},"gitHead":"7b32e57b7c9e944b6e5c529ece708633ed901ab3","_id":"regextras@0.4.0","_npmVersion":"5.8.0","_nodeVersion":"9.2.1","_npmUser":{"name":"brettz9","email":"brettz9@yahoo.com"},"dist":{"shasum":"b5940259a80f708f5d94150b2b251895a10fd979","size":10441,"noattachment":false,"key":"/regextras/-/regextras-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/regextras/download/regextras-0.4.0.tgz"},"maintainers":[{"name":"brettz9","email":"brettz9@yahoo.com"},{"name":"npm:brettz9","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regextras_0.4.0_1524643730543_0.8715478781394328"},"_hasShrinkwrap":false,"publish_time":1524643731634,"_cnpm_publish_time":1524643731634},"0.3.0":{"name":"regextras","license":"MIT","author":{"name":"Brett Zamir"},"contributors":[],"repository":{"type":"git","url":"git+https://github.com/brettz9/regextras.git"},"homepage":"https://github.com/brettz9/regextras","bugs":{"url":"https://github.com/brettz9/regextras/issues"},"scripts":{"eslint":"eslint .","rollup":"rollup -c","test":"nodeunit test","test-browser":"npm run eslint && npm run rollup && opn http://127.0.0.1:8081/tests/regextras.html && static -p 8081"},"version":"0.3.0","id":"regextras@brett.zamir","main":"dist/index-umd.js","module":"dist/index-es.js","keywords":["regex","regexp","regular expression"],"description":"Array extras for regular expressions","engines":{"node":"*"},"dependencies":{},"devDependencies":{"babel-core":"^6.26.0","eslint":"4.19.1","eslint-config-standard":"11.0.0","eslint-plugin-import":"2.11.0","eslint-plugin-node":"6.0.1","eslint-plugin-promise":"3.7.0","eslint-plugin-standard":"3.0.1","node-static":"^0.7.10","nodeunit":"0.11.2","opn-cli":"^3.1.0","remark-lint":"6.0.1","rollup":"0.58.2","rollup-plugin-babel":"^3.0.4","rollup-plugin-uglify":"^3.0.0","uglify-es":"^3.3.9"},"gitHead":"e17cad3ee63f6542af9600d495621afc198a2001","_id":"regextras@0.3.0","_npmVersion":"5.8.0","_nodeVersion":"9.2.1","_npmUser":{"name":"brettz9","email":"brettz9@yahoo.com"},"dist":{"shasum":"d12faea907495f6f043fdb3537ff9bd39af6ee52","size":9961,"noattachment":false,"key":"/regextras/-/regextras-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/regextras/download/regextras-0.3.0.tgz"},"maintainers":[{"name":"brettz9","email":"brettz9@yahoo.com"},{"name":"npm:brettz9","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regextras_0.3.0_1524579758824_0.2340671148340463"},"_hasShrinkwrap":false,"publish_time":1524579758895,"_cnpm_publish_time":1524579758895},"0.2.1":{"name":"regextras","license":"MIT","author":{"name":"Brett Zamir"},"contributors":[],"repository":{"type":"git","url":"git+https://github.com/brettz9/regextras.git"},"homepage":"https://github.com/brettz9/regextras","bugs":{"url":"https://github.com/brettz9/regextras/issues"},"scripts":{"test":"nodeunit test"},"version":"0.2.1","title":"RegExtras","id":"regextras@brett.zamir","main":"lib/main","keywords":["regex","regexp","regular expression"],"description":"Array extras for regular expressions","engines":{},"dependencies":{},"devDependencies":{"nodeunit":"0.x"},"gitHead":"6a2f0f47ec68a5714381efcfe61a6e27b1b06513","_id":"regextras@0.2.1","_shasum":"7e0a3d50a2e4c126d6c036d3d8f30ff669bb89b4","_from":".","_npmVersion":"3.8.1","_nodeVersion":"4.3.0","_npmUser":{"name":"brettz9","email":"brettz9@yahoo.com"},"maintainers":[{"name":"brettz9","email":"brettz9@yahoo.com"},{"name":"npm:brettz9","email":""}],"dist":{"shasum":"7e0a3d50a2e4c126d6c036d3d8f30ff669bb89b4","size":6964,"noattachment":false,"key":"/regextras/-/regextras-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/regextras/download/regextras-0.2.1.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/regextras-0.2.1.tgz_1460357077103_0.19523086003027856"},"directories":{},"publish_time":1460357078131,"_cnpm_publish_time":1460357078131,"_hasShrinkwrap":false},"0.2.0":{"name":"regextras","license":"MIT","author":{"name":"Brett Zamir"},"contributors":[],"repository":{"type":"git","url":"git+https://github.com/brettz9/regextras.git"},"homepage":"https://github.com/brettz9/regextras","bugs":{"url":"https://github.com/brettz9/regextras/issues"},"scripts":{},"version":"0.2.0","title":"RegExtras","id":"regextras@brett.zamir","main":"lib/main","keywords":["regex","regexp","regular expression"],"description":"Array extras for regular expressions","engines":{},"dependencies":{},"devDependencies":{"nodeunit":"0.x"},"gitHead":"bbec799ca44ded43e6d0aac7cfffc9748cdb3da5","_id":"regextras@0.2.0","_shasum":"44dd31611966c2c03c616a95d5d33263f3c681cd","_from":".","_npmVersion":"3.8.1","_nodeVersion":"4.3.0","_npmUser":{"name":"brettz9","email":"brettz9@yahoo.com"},"maintainers":[{"name":"brettz9","email":"brettz9@yahoo.com"},{"name":"npm:brettz9","email":""}],"dist":{"shasum":"44dd31611966c2c03c616a95d5d33263f3c681cd","size":6725,"noattachment":false,"key":"/regextras/-/regextras-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/regextras/download/regextras-0.2.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/regextras-0.2.0.tgz_1460355771564_0.8297107194084674"},"directories":{},"publish_time":1460355772606,"_cnpm_publish_time":1460355772606,"_hasShrinkwrap":false},"0.1.1":{"name":"regextras","license":"MIT","author":{"name":"Brett Zamir"},"version":"0.1.1","title":"RegExtras","id":"regextras@brett.zamir","main":"lib/index","description":"Array extras for regular expressions","devDependencies":{"nodeunit":"0.x"},"gitHead":"71d0f3de85339ed18f6c76b1f5b61d7eefda512c","_id":"regextras@0.1.1","scripts":{},"_shasum":"bd6ba01635f104ec55556fcd54650dd968d44569","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"brettz9","email":"brettz9@yahoo.com"},"maintainers":[{"name":"brettz9","email":"brettz9@yahoo.com"},{"name":"npm:brettz9","email":""}],"dist":{"shasum":"bd6ba01635f104ec55556fcd54650dd968d44569","size":5703,"noattachment":false,"key":"/regextras/-/regextras-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/regextras/download/regextras-0.1.1.tgz"},"directories":{},"publish_time":1423003370185,"_cnpm_publish_time":1423003370185,"_hasShrinkwrap":false},"0.1.0":{"name":"regextras","license":"MIT","author":{"name":"Brett Zamir"},"version":"0.1.0","title":"RegExtras","id":"regextras@brett.zamir","main":"lib/index","description":"Array extras for regular expressions","devDependencies":{"nodeunit":"0.x"},"gitHead":"ccad8f36ac0d205e327d9f944de00747095f0d6f","_id":"regextras@0.1.0","scripts":{},"_shasum":"67d1f37ad6f6a4e62b23d0c3b7baf79a946aad0c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"brettz9","email":"brettz9@yahoo.com"},"maintainers":[{"name":"brettz9","email":"brettz9@yahoo.com"},{"name":"npm:brettz9","email":""}],"dist":{"shasum":"67d1f37ad6f6a4e62b23d0c3b7baf79a946aad0c","size":5697,"noattachment":false,"key":"/regextras/-/regextras-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/regextras/download/regextras-0.1.0.tgz"},"directories":{},"publish_time":1422992865049,"_cnpm_publish_time":1422992865049,"_hasShrinkwrap":false}},"readme":"# regextras\n\nArray extras for regular expressions.\n\nAlso provides optional `String` and `RegExp` prototype extensions.\n\nNo more writing the implementation-detail-leaking, non-semantic, and\notherwise ugly:\n\n```js\nlet matches;\nwhile ((matches = regex.exec(str)) !== null) {\n  // Do something\n  if (condition) {\n    break;\n  }\n}\n```\n\nWhile all of the array extras could be useful, `some`, might be the most\ngeneral purpose as it (as with `every`) allows short-circuiting (breaking).\n\nThe following is equivalent to that above (though with `matches` as local):\n\n```js\nRegExtras(regex).some(str, (matches) => {\n  // Do something\n  if (condition) {\n    return true;\n  }\n  return false;\n});\n```\n\nAnd if the condition is at the end of the loop, just this:\n\n```js\nRegExtras(regex).some(str, (matches) => {\n  // Do something\n  return condition;\n});\n```\n\n## Installation\n\nNode:\n\n```js\nconst RegExtras = require('regextras');\n```\n\nModern browsers:\n\n```js\nimport {RegExtras} from './node_modules/regextras/dist/index-es.js';\n```\n\nOlder browsers:\n\n```html\n<script src=\"regextras/dist/index-umd.js\"></script>\n```\n\nThe prototype versions must be required or included separately.\n\nIf you need the generator methods, you should also add the following:\n\n```html\n<script src=\"regextras/dist/index-generators-umd.js\"></script>\n```\n\n## API\n\n### Constructor\n\n`new RegExtras(regex, flags, newLastIndex)`\n\nExample:\n\n```js\nconst piglatinArray = RegExtras(/\\w*w?ay/).reduce('ouyay areway illysay', function (arr, i, word) {\n  if (word.endsWith('way')) { arr.push(word.replace(/way$/, '')); } else { arr.push(word.slice(-3, -2) + word.slice(0, -3)); }\n  return arr;\n}, []);\n```\n\nAll arguments but the first are optional, and the first argument can be\nexpressed as a string.\n\nThe `new` keywords is not required.\n\n### Instance methods\n\nThese methods (and their callbacks) behave like the [array extra](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array#Iteration_methods)\nto which they correspond with exceptions detailed below.\n\n-   ***forEach(str, callback, thisObject)*** - Unlike the other extras, this\n    method returns the RegExtras object (to enable chaining).\n\n-   ***some(str, callback, thisObject)***\n\n-   ***every(str, callback, thisObject)***\n\n-   ***map(str, callback, thisObject)***\n\n-   ***filter(str, callback, thisObject)***\n\n-   ***reduce(str, cb, prev, thisObj)*** - Unlike the array extras, allows a\n    fourth argument to set an alternative value for `this` within the callback.\n\n-   ***reduceRight(str, cb, prev, thisObj)*** - Unlike the array extras,\n    allows a fourth argument to set an alternative value for `this` within\n    the callback.\n\n-   ***find(str, cb, thisObj)***\n\n-   ***findIndex(str, cb, thisObj)***\n\nAlso adds the following methods:\n\n-   ***findExec(str, cb, thisObj)*** - Operates like `find()` except that it\n    returns the `exec` result array (with `index` and `input` as well as\n    numeric properties as returned by [RegExp.prototype.exec](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/exec)).\n\n-   ***filterExec(str, cb, thisObj)*** - Operates like `filter()` except that\n    the resulting array will contain the full `exec` results.\n\nIf you are using the Node version (or if, for the browser, you add the\n`index-generators.js` file and you are only supporting modern browsers), one\ncan use the following generator methods:\n\n-   ***values(str)*** - Returns an iterator with the array of matches (for each\n    `RegExp.prototype.exec` result)\n\n-   ***keys(str)*** - Returns an iterator with 0-based indexes (from\n    `RegExp.prototype.exec` result)\n\n-   ***entries(str)*** - Returns an iterator with an array containing the\n    key and the array of matches (for each `RegExp.prototype.exec` result)\n\n### Class methods\n\n-   ***mixinRegex(regex, newFlags='', newLastIndex=regex.lastIndex)*** -\n    Makes a copy of a regular expression.\n\n### Callbacks\n\nAll callbacks follow the signature:\n\n`cb(n1, n2..., i, n0);`\n\n...except for the `reduce` and `reduceRight` callbacks which follow:\n\n`cb(prev, n1, n2..., i, n0);`\n\n### Prototype versions\n\n`String` and `RegExp` versions of the above methods are also available.\n\nThe `RegExp` prototype version acts in the same way as `RegExtra` just\nwithout the need for a separate constructor call.\n\nThe `String` prototype version differs in that instead of the first argument\nbeing a string, it is the regular expression.\n\n## Todos\n\n1.  Could add [Array accessor methods](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array#Accessor_methods)\n    like `slice()`, with an additional supplied regular expression to gather\n    the `exec` results into an array.\n\n2.  Utilize `nodeunit` browser testing (and add `mixinRegex` tests)\n\n    1. Convert nodeunit tests to ES6 modules running through babel-register?;\n        streamline as sole set of tests, reconciling `test` with `tests` folder\n\n3.  Add generators for prototype versions\n","_attachments":{},"homepage":"https://github.com/brettz9/regextras","bugs":{"url":"https://github.com/brettz9/regextras/issues"},"license":"MIT"}