{"maintainers":[{"email":"brian.woodward@gmail.com","name":"anonymous"},{"email":"github@sellside.com","name":"anonymous"}],"keywords":["cache","expression","regex","regexp","regular","regular expression","store","to-regex"],"dist-tags":{"latest":"0.4.4"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"description":"Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in surprising performance improvements.","readme":"# regex-cache [![NPM version](https://img.shields.io/npm/v/regex-cache.svg?style=flat)](https://www.npmjs.com/package/regex-cache) [![NPM monthly downloads](https://img.shields.io/npm/dm/regex-cache.svg?style=flat)](https://npmjs.org/package/regex-cache)  [![NPM total downloads](https://img.shields.io/npm/dt/regex-cache.svg?style=flat)](https://npmjs.org/package/regex-cache) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/regex-cache.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/regex-cache) [![Windows Build Status](https://img.shields.io/appveyor/ci/jonschlinkert/regex-cache.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/jonschlinkert/regex-cache)\n\n> Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in surprising performance improvements.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save regex-cache\n```\n\n* Read [what this does](#what-this-does).\n* See [the benchmarks](#benchmarks)\n\n## Usage\n\nWrap a function like this:\n\n```js\nvar cache = require('regex-cache');\nvar someRegex = cache(require('some-regex-lib'));\n```\n\n**Caching a regex**\n\nIf you want to cache a regex after calling `new RegExp()`, or you're requiring a module that returns a regex, wrap it with a function first:\n\n```js\nvar cache = require('regex-cache');\n\nfunction yourRegex(str, opts) {\n  // do stuff to str and opts\n  return new RegExp(str, opts.flags);\n}\n\nvar regex = cache(yourRegex);\n```\n\n## Recommendations\n\n### Use this when...\n\n* **No options are passed** to the function that creates the regex. Regardless of how big or small the regex is, when zero options are passed, caching will be faster than not.\n* **A few options are passed**, and the values are primitives. The limited benchmarks I did show that caching is beneficial when up to 8 or 9 options are passed.\n\n### Do not use this when...\n\n* **The values of options are not primitives**. When non-primitives must be compared for equality, the time to compare the options is most likely as long or longer than the time to just create a new regex.\n\n### Example benchmarks\n\nPerformance results, with and without regex-cache:\n\n```bash\n# no args passed (defaults)\n  with-cache x 8,699,231 ops/sec ±0.86% (93 runs sampled)\n  without-cache x 2,777,551 ops/sec ±0.63% (95 runs sampled)\n\n# string and six options passed\n  with-cache x 1,885,934 ops/sec ±0.80% (93 runs sampled)\n  without-cache x 1,256,893 ops/sec ±0.65% (97 runs sampled)\n\n# string only\n  with-cache x 7,723,256 ops/sec ±0.87% (92 runs sampled)\n  without-cache x 2,303,060 ops/sec ±0.47% (99 runs sampled)\n\n# one option passed\n  with-cache x 4,179,877 ops/sec ±0.53% (100 runs sampled)\n  without-cache x 2,198,422 ops/sec ±0.47% (95 runs sampled)\n\n# two options passed\n  with-cache x 3,256,222 ops/sec ±0.51% (99 runs sampled)\n  without-cache x 2,121,401 ops/sec ±0.79% (97 runs sampled)\n\n# six options passed\n  with-cache x 1,816,018 ops/sec ±1.08% (96 runs sampled)\n  without-cache x 1,157,176 ops/sec ±0.53% (100 runs sampled)\n\n# \n# diminishing returns happen about here\n# \n\n# ten options passed\n  with-cache x 1,210,598 ops/sec ±0.56% (92 runs sampled)\n  without-cache x 1,665,588 ops/sec ±1.07% (100 runs sampled)\n\n# twelve options passed\n  with-cache x 1,042,096 ops/sec ±0.68% (92 runs sampled)\n  without-cache x 1,389,414 ops/sec ±0.68% (97 runs sampled)\n\n# twenty options passed\n  with-cache x 661,125 ops/sec ±0.80% (93 runs sampled)\n  without-cache x 1,208,757 ops/sec ±0.65% (97 runs sampled)\n\n# \n# when non-primitive values are compared\n# \n\n# single value on the options is an object\n  with-cache x 1,398,313 ops/sec ±1.05% (95 runs sampled)\n  without-cache x 2,228,281 ops/sec ±0.56% (99 runs sampled)\n```\n\n## Run benchmarks\n\nInstall dev dependencies:\n\n```bash\nnpm i -d && npm run benchmarks\n```\n\n## What this does\n\nIf you're using `new RegExp('foo')` instead of a regex literal, it's probably because you need to dyamically generate a regex based on user options or some other potentially changing factors.\n\nWhen your function creates a string based on user inputs and passes it to the `RegExp` constructor, regex-cache caches the results. The next time the function is called if the key of a cached regex matches the user input (or no input was given), the cached regex is returned, avoiding unnecessary runtime compilation.\n\nUsing the RegExp constructor offers a lot of flexibility, but the runtime compilation comes at a price - it's slow. Not specifically because of the call to the RegExp constructor, but **because you have to build up the string before `new RegExp()` is even called**.\n\n## About\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** |  \n| --- | --- |  \n| 31 | [jonschlinkert](https://github.com/jonschlinkert) |  \n| 1  | [MartinKolarik](https://github.com/MartinKolarik) |  \n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on September 01, 2017._","repository":{"type":"git","url":"git+https://github.com/jonschlinkert/regex-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/regex-cache/issues"},"license":"MIT","versions":{"0.1.0":{"name":"regex-cache","description":"Memoize the results of a call to the RegExp constructor. Whenever possible, avoiding repetitious runtime compilation of the same string and options can result in dramatic speed improvements.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/regex-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/regex-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/regex-cache/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/regex-cache/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","benchmarks":"node benchmark"},"dependencies":{"benchmarked":"^0.1.3","chalk":"^0.5.1","micromatch":"^1.2.2"},"devDependencies":{"mentions-regex":"^1.0.1","mocha":"^2.1.0","should":"*"},"keywords":[],"gitHead":"fb650dd8badcb3e55ad89042b6d48c45f4437aed","_id":"regex-cache@0.1.0","_shasum":"5562267f3e12903e5c464e70f06a38d27c2a8184","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"5562267f3e12903e5c464e70f06a38d27c2a8184","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/regex-cache/-/regex-cache-0.1.0.tgz","integrity":"sha512-+WLpa/1nUPuVbLdUHL5Rr9lhtcE/7JvTxJ2T4lUsQvSAHCyVo1v2Xknlz73o9Zcrkc7HOH10HUlfr7rT4OLAFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0nFvD/Dhh1JWPnUDw1olqyhgok5slUdldSsZkXncTJwIgd7QK+cEt+DDq+6vN8stjOmiLER3aQFPn7CNiKTd6R/Q="}]}},"0.1.1":{"name":"regex-cache","description":"Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in dramatic speed improvements.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/regex-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/regex-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/regex-cache/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/regex-cache/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","benchmarks":"node benchmark"},"dependencies":{"benchmarked":"^0.1.3","chalk":"^0.5.1","micromatch":"^1.2.2"},"devDependencies":{"mentions-regex":"^1.0.1","mocha":"^2.1.0","should":"*"},"keywords":[],"gitHead":"fb650dd8badcb3e55ad89042b6d48c45f4437aed","_id":"regex-cache@0.1.1","_shasum":"c770cf43cf31edf80656ed5139d2786ba876470d","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"c770cf43cf31edf80656ed5139d2786ba876470d","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/regex-cache/-/regex-cache-0.1.1.tgz","integrity":"sha512-ajcATwBZjT9ja8cOzFtAz/gygPHRluQIUofzQ9I3tjVX+N5zpdc2yrdPd5YpfctJpLliv3fVFe+rnYDBQmnCXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCZKUsS48HNmMAPbmUa2rtjMqcaGuGLWFQK/36RAGr5QIgc7l369cXiS5iMOqn4zJe+1/x3ZsR/2VYcPOrRhZaa5g="}]}},"0.2.0":{"name":"regex-cache","description":"Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in dramatic speed improvements.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/regex-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/regex-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/regex-cache/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/regex-cache/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","benchmarks":"node benchmark"},"dependencies":{"benchmarked":"^0.1.3","chalk":"^0.5.1","micromatch":"^1.2.2"},"devDependencies":{"mentions-regex":"^1.0.1","mocha":"^2.1.0","should":"*"},"keywords":[],"gitHead":"2fcb3ee060ca41acb8bd1496c3115f99a51ee0a4","_id":"regex-cache@0.2.0","_shasum":"3bed13fad0cf9bb9768d1c64694f592467bf4c16","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"3bed13fad0cf9bb9768d1c64694f592467bf4c16","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/regex-cache/-/regex-cache-0.2.0.tgz","integrity":"sha512-42AZpleJsjSJg2mb7l2I4MPzwyyCPTAR8V60MlecQW4MtT2vtarE8kbwYuA9d+NtQ0JzXfUbFuxmEEym4VLVDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHv9461tPxbQVK72xlbaBdyoiYwwg5MKS1fS1g9QsOyQAiEAnNXP6C7TOpvBgE74Fbia6BkPQWCUywAq3HjY6bm5WBI="}]}},"0.2.1":{"name":"regex-cache","description":"Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in dramatic speed improvements.","version":"0.2.1","homepage":"https://github.com/jonschlinkert/regex-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/regex-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/regex-cache/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/regex-cache/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","benchmarks":"node benchmark"},"dependencies":{"benchmarked":"^0.1.3","chalk":"^0.5.1","micromatch":"^1.2.2"},"devDependencies":{"mentions-regex":"^1.0.1","mocha":"^2.1.0","should":"*"},"keywords":[],"gitHead":"32d89bc73bc8b293603e7c9701c8437e0204808d","_id":"regex-cache@0.2.1","_shasum":"035ae2117c2d9bb78d8154939edac6914afee9ad","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"035ae2117c2d9bb78d8154939edac6914afee9ad","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/regex-cache/-/regex-cache-0.2.1.tgz","integrity":"sha512-7IULQoUCe7ZJMNLtkmXVRsO3XYmALITUdihkTUuM9/70XV+kaUK36JLOywdcV8og/8HWfr4+7au46o9D01ZOyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF7HzT9HOA+uxedHnL8krZfaC7v5QxI69ZKpMgcbr+S3AiB0+2DpzBDHYBmd/v8X1mV9WyyvPlKnsOLwAv0H9pgedA=="}]}},"0.3.0":{"name":"regex-cache","description":"Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in dramatic speed improvements.","version":"0.3.0","homepage":"https://github.com/jonschlinkert/regex-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/regex-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/regex-cache/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/regex-cache/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","benchmarks":"node benchmark"},"dependencies":{"benchmarked":"^0.1.3","chalk":"^0.5.1","micromatch":"^1.2.2","to-key":"^1.0.0"},"devDependencies":{"mocha":"^2.1.0","should":"*"},"keywords":["cache","expression","regex","regexp","regular","regular expression","store","to-regex"],"gitHead":"2bd4995be9229e1d6d0acbcfebab2ea069b73d3d","_id":"regex-cache@0.3.0","_shasum":"3ea036627179102bfb1a2364ab2679a0f32964c0","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"3ea036627179102bfb1a2364ab2679a0f32964c0","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/regex-cache/-/regex-cache-0.3.0.tgz","integrity":"sha512-2M+WA94jJ8M2FJW0KuD7UVMs7SI5TJRADVTD4dG3kzGmMPrKoUCidd/nkctHKG15teYRCRZGcIWJMmUSX6FPQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEanzUUga0+5GkpYbaIQUbf61/L+2D2fyve1y9lyfhS8AiAp2O3tyBBn+jk+ao0q8LfagIqj3UsXPSrN1+9VNQSdMg=="}]}},"0.4.1":{"name":"regex-cache","description":"Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in dramatic speed improvements.","version":"0.4.1","homepage":"https://github.com/jonschlinkert/regex-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/regex-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/regex-cache/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/regex-cache/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","benchmarks":"node benchmark"},"dependencies":{"is-equal-shallow":"^0.1.1","is-primitive":"^2.0.0"},"devDependencies":{"benchmarked":"^0.1.4","chalk":"^1.0.0","micromatch":"^2.1.0","mocha":"^2.1.0","should":"*"},"keywords":["cache","expression","regex","regexp","regular","regular expression","store","to-regex"],"gitHead":"9478eec6d9322a96a6ceb3e5488cd8433295a95f","_id":"regex-cache@0.4.1","_shasum":"709c5cec5ae8ec312c5992a84b6ec966a3fe94a0","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"709c5cec5ae8ec312c5992a84b6ec966a3fe94a0","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/regex-cache/-/regex-cache-0.4.1.tgz","integrity":"sha512-+vhodNvUyUCUWhRcHqEKCrdXVZmYgDv0yCuQiM2Sbn6Rxiq1ZgF4GkRLwcj5PnNQa+ALRp0ar4oYb5oJekFqFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwRdAnEHV9vlUCLSv4m0Yo8/aTm1RPTjG6muB6xpJc8AIhANmvSRqQWBq58Kt+lignCjkHRTmOO5dW++7fJ0NBj5/4"}]}},"0.4.2":{"name":"regex-cache","description":"Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in dramatic speed improvements.","version":"0.4.2","homepage":"https://github.com/jonschlinkert/regex-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/regex-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/regex-cache/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/regex-cache/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","benchmarks":"node benchmark"},"dependencies":{"is-equal-shallow":"^0.1.1","is-primitive":"^2.0.0"},"devDependencies":{"benchmarked":"^0.1.4","chalk":"^1.0.0","micromatch":"^2.1.0","mocha":"^2.1.0","should":"*"},"keywords":["cache","expression","regex","regexp","regular","regular expression","store","to-regex"],"gitHead":"9478eec6d9322a96a6ceb3e5488cd8433295a95f","_id":"regex-cache@0.4.2","_shasum":"6e4f89c266bc03c33fd129c062184687f4663487","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"6e4f89c266bc03c33fd129c062184687f4663487","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/regex-cache/-/regex-cache-0.4.2.tgz","integrity":"sha512-pClNbQ2V0jyi4AqvNvPmPd/g0jQB6lFWsGMwHXyEck+xzMnjdRBZ6/bpZl67E5bdb4EXpKLClQ69KCmtcA7vCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHuL1UOey5iay6OqpsL05MspFYqUeNVeEthVP57iTVHpAiEAn2wXLbAMxyFTfilECmXXCFu0b8t4bIGkNYLbeOlGTjM="}]}},"0.4.3":{"name":"regex-cache","description":"Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in suprising performance improvements.","version":"0.4.3","homepage":"https://github.com/jonschlinkert/regex-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/regex-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/regex-cache/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","benchmarks":"node benchmark"},"dependencies":{"is-equal-shallow":"^0.1.3","is-primitive":"^2.0.0"},"devDependencies":{"benchmarked":"^0.1.5","chalk":"^1.1.3","gulp-format-md":"^0.1.7","micromatch":"^2.3.7","should":"^8.3.0"},"keywords":["cache","expression","regex","regexp","regular","regular expression","store","to-regex"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"06ce46bda29a19064a968bd5d2d5596440be05ca","_id":"regex-cache@0.4.3","_shasum":"9b1a6c35d4d0dfcef5711ae651e8e9d3d7114145","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"},{"name":"anonymous","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"9b1a6c35d4d0dfcef5711ae651e8e9d3d7114145","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/regex-cache/-/regex-cache-0.4.3.tgz","integrity":"sha512-mD03Qv3Lb7ncwijS5zPvJUIrIXA1XBrxIuB6/XoesvWlyJBNCk7WZa9fCnIOpTKzd6C1L+rpaxrr6t0CYFDQ+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDm8WPlTDBy+5vR77QEKTNaVHsOkJ0HClZzbkpRkTvUagIgUHnA/Q1jRGdCUjTImw8UFZTyY0Mr0nbkUQJzl2dd9eE="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/regex-cache-0.4.3.tgz_1459536604904_0.22530420310795307"}},"0.4.4":{"name":"regex-cache","description":"Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in surprising performance improvements.","version":"0.4.4","homepage":"https://github.com/jonschlinkert/regex-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"},{"name":"Martin Kolárik","url":"https://kolarik.sk"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/regex-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/regex-cache/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","benchmarks":"node benchmark"},"dependencies":{"is-equal-shallow":"^0.1.3"},"devDependencies":{"ansi-bold":"^0.1.1","benchmarked":"^0.1.5","gulp-format-md":"^0.1.7","micromatch":"^2.3.7","should":"^8.3.0"},"keywords":["cache","expression","regex","regexp","regular","regular expression","store","to-regex"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"e5ced08e45d2cc2d286a9e7b5a574963f6577712","_id":"regex-cache@0.4.4","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"anonymous","email":"brian.woodward@gmail.com"},"dist":{"integrity":"sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==","shasum":"75bdc58a2a1496cec48a12835bc54c8d562336dd","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/regex-cache/-/regex-cache-0.4.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHmSdJ1/gQwefU+P9zx5KEu83fpAh7aQOfxPpQSwk1yQIgaEuhPLplXjyf076OJ1MEJg7iKFhAptBIUa1tYfjeukQ="}]},"maintainers":[{"name":"anonymous","email":"github@sellside.com"},{"name":"anonymous","email":"brian.woodward@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regex-cache-0.4.4.tgz_1504279132002_0.2753396413754672"}}},"name":"regex-cache","time":{"modified":"2022-06-26T10:42:25.683Z","created":"2015-02-09T12:14:22.194Z","0.1.0":"2015-02-09T12:14:22.194Z","0.1.1":"2015-02-09T12:16:02.663Z","0.2.0":"2015-02-09T13:37:14.168Z","0.2.1":"2015-02-17T01:25:54.933Z","0.3.0":"2015-02-17T08:04:50.627Z","0.4.1":"2015-03-25T22:26:57.199Z","0.4.2":"2015-03-25T22:28:18.072Z","0.4.3":"2016-04-01T18:50:07.156Z","0.4.4":"2017-09-01T15:18:53.060Z"},"readmeFilename":"README.md","contributors":[{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"},{"name":"Martin Kolárik","url":"https://kolarik.sk"}],"homepage":"https://github.com/jonschlinkert/regex-cache"}