{"_id":"es6-template-regex","_rev":"8-71c0e3cebeaa7dd03af08f092ba10ca8","name":"es6-template-regex","description":"Regular expression for matching es6 template delimiters in a string.","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"es6-template-regex","description":"Regex for matching es6 template delimiters.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/es6-template-regex","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/es6-template-regex.git"},"bugs":{"url":"https://github.com/jonschlinkert/es6-template-regex/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/es6-template-regex/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.0.4","verb":"^0.2.15"},"keywords":["delimiter","delimiters","delims","es","expression","re","regex","regexp","regular","replace","syntax","template","value","values"],"_id":"es6-template-regex@0.1.0","_shasum":"63c28cd9661723376b19f7c960d1cb5fd31a7fd2","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"63c28cd9661723376b19f7c960d1cb5fd31a7fd2","tarball":"https://registry.npmjs.org/es6-template-regex/-/es6-template-regex-0.1.0.tgz","integrity":"sha512-URQEykg2/AW/79GDn7a0St0iuRcghLJKH3Wcf8zGaXPiVInbfXdQX3t3dOVNQ/laHFUIbbFLTrcrCTbI7AU1tg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEb38z8zzFNCN+S+BfOJV8isLGsgDYpevF0nlrc7ru03AiEAn1m0Aglbxo85EOc6zvKYek+GTHTtPRolPr8xIP5It+Y="}]}},"0.1.1":{"name":"es6-template-regex","description":"Regular expression for matching es6 template delimiters in a string.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/es6-template-regex","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/es6-template-regex.git"},"bugs":{"url":"https://github.com/jonschlinkert/es6-template-regex/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{},"devDependencies":{"mocha":"*"},"keywords":["delimiter","es","expression","regex","regexp","regular"],"gitHead":"a75075e106dfa0fc457d314bcb203fe2f9e3383f","_id":"es6-template-regex@0.1.1","_shasum":"e517b9e0f742beeb8d3040834544fda0e4651467","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"e517b9e0f742beeb8d3040834544fda0e4651467","tarball":"https://registry.npmjs.org/es6-template-regex/-/es6-template-regex-0.1.1.tgz","integrity":"sha512-sCeu9DOYhaSlKG7ry2y384bwxxaxPPdqWS0Jj45lv1MeQSpRK7mYlLO0jZdqwDLHViDWMsMikOkSIXuXpf4DiQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICg2v+tRIUfjd1WDU/kofTkl77WIf3Eu5Ww8gg5y55AxAiEAjiVHP/++gq2mEHa55FA0ZQS+Fvbu1/LBqOGbyjtpzDU="}]}},"1.0.0":{"name":"es6-template-regex","description":"Regular expression for matching es6 template delimiters in a string.","version":"1.0.0","homepage":"https://github.com/regexhq/es6-template-regex","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Anders D. Johnson","url":"https://andrz.me"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/regexhq/es6-template-regex.git"},"bugs":{"url":"https://github.com/regexhq/es6-template-regex/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^0.1.12","mocha":"^3.3.0"},"keywords":["delimiter","es","es6","expression","regex","regexp","regular","template"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["to-regex-range","unc-path-regex","whitespace-regex"]},"lint":{"reflinks":true}},"gitHead":"8e5f14df3f8f2708b4989b02753980110c473f7d","_id":"es6-template-regex@1.0.0","_shasum":"cebcc3177cb60bbe515e36aa17457b87330ea286","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"cebcc3177cb60bbe515e36aa17457b87330ea286","tarball":"https://registry.npmjs.org/es6-template-regex/-/es6-template-regex-1.0.0.tgz","integrity":"sha512-GLcbgP5uSRSXT/rqQZTsAW6XTfJLJXADph1Ja9A8pCz5aEwZumIuxxEogtTP3Z6U/hhzM/KOrVXQ0u7EX6Ut/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA80R8PGRNLL++mv2yGEp8jODyY5w+HjOUGw/OpIIjrtAiEAnfmyLppDuYdNg7lK4Gxfy3fxcdlEdszM2PiY4EbNzPI="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/es6-template-regex-1.0.0.tgz_1494204671321_0.9587867627851665"}}},"readme":"# es6-template-regex [![NPM version](https://img.shields.io/npm/v/es6-template-regex.svg?style=flat)](https://www.npmjs.com/package/es6-template-regex) [![NPM monthly downloads](https://img.shields.io/npm/dm/es6-template-regex.svg?style=flat)](https://npmjs.org/package/es6-template-regex) [![NPM total downloads](https://img.shields.io/npm/dt/es6-template-regex.svg?style=flat)](https://npmjs.org/package/es6-template-regex) [![Linux Build Status](https://img.shields.io/travis/regexhq/es6-template-regex.svg?style=flat&label=Travis)](https://travis-ci.org/regexhq/es6-template-regex)\n\n> Regular expression for matching es6 template delimiters in a string.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save es6-template-regex\n```\n\n## Usage\n\nThe main export of this module is a function that must be called:\n\n```js\nvar regex = require('es6-template-regex');\nconsole.log(regex());\n```\n\n## Example\n\n```js\nfunction interpolate(str, data) {\n  return str.replace(re(), function(m, prop) {\n    return data[prop] || prop;\n  });\n}\n\nvar str = 'foo ${bar} baz ${quux}';\nvar data = {bar: 'AAA', quux: 'BBB'};\ninterpolate(str, data);\n//=> 'foo AAA baz BBB'\n```\n\n## About\n\n### Related projects\n\n* [to-regex-range](https://www.npmjs.com/package/to-regex-range): Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than… [more](https://github.com/micromatch/to-regex-range) | [homepage](https://github.com/micromatch/to-regex-range \"Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.\")\n* [unc-path-regex](https://www.npmjs.com/package/unc-path-regex): Regular expression for testing if a file path is a windows UNC file path. Can… [more](https://github.com/regexhq/unc-path-regex) | [homepage](https://github.com/regexhq/unc-path-regex \"Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.\")\n* [whitespace-regex](https://www.npmjs.com/package/whitespace-regex): Regular expression for matching the whitespace in a string. | [homepage](https://github.com/regexps/whitespace-regex \"Regular expression for matching the whitespace in a string.\")\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| 7 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 1 | [adjohnson916](https://github.com/adjohnson916) |\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 May 07, 2017._","maintainers":[{"email":"brian.woodward@gmail.com","name":"doowb"},{"email":"github@sellside.com","name":"jonschlinkert"}],"time":{"modified":"2022-06-17T17:06:38.496Z","created":"2014-10-18T07:29:20.650Z","0.1.0":"2014-10-18T07:29:20.650Z","0.1.1":"2015-08-11T02:24:57.250Z","1.0.0":"2017-05-08T00:51:13.127Z"},"homepage":"https://github.com/regexhq/es6-template-regex","keywords":["delimiter","es","es6","expression","regex","regexp","regular","template"],"repository":{"type":"git","url":"git+https://github.com/regexhq/es6-template-regex.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/regexhq/es6-template-regex/issues"},"readmeFilename":"README.md","license":"MIT","contributors":[{"name":"Anders D. Johnson","url":"https://andrz.me"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}]}