{"_id":"delimiter-regex","_rev":"81166","name":"delimiter-regex","description":"Create regex for template delimiters.","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:25:55.000Z","created":"2014-11-23T09:52:35.511Z","2.0.0":"2016-07-23T03:06:54.967Z","1.3.1":"2015-03-18T18:56:06.618Z","1.3.0":"2015-02-04T06:11:09.111Z","1.2.0":"2015-02-03T04:35:34.340Z","1.1.0":"2015-01-16T00:50:14.316Z","1.0.0":"2015-01-15T20:23:47.771Z","0.1.0":"2014-11-23T09:52:35.511Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/delimiter-regex.git"},"versions":{"2.0.0":{"name":"delimiter-regex","description":"Create regex for template delimiters.","version":"2.0.0","homepage":"https://github.com/jonschlinkert/delimiter-regex","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/delimiter-regex.git"},"bugs":{"url":"https://github.com/jonschlinkert/delimiter-regex/issues"},"license":"MIT","files":["index.js","LICENSE","README.md"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^1.1.2","isobject":"^2.1.0"},"devDependencies":{"gulp-format-md":"^0.1.9","mocha":"*"},"keywords":["delim","delimiter","delimiters","delims","expression","expressions","regex","regexp","regular","syntax","template"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"related":{"list":[]},"reflinks":["verb","verb-generate-readme"]},"gitHead":"a1ba31200e91d9a2f5e74d2086cfeaa7b20174ad","_id":"delimiter-regex@2.0.0","_shasum":"0d0f6f61d9915591fd43087a8e9585d3e2115a75","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"0d0f6f61d9915591fd43087a8e9585d3e2115a75","size":2913,"noattachment":false,"key":"/delimiter-regex/-/delimiter-regex-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/delimiter-regex/download/delimiter-regex-2.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/delimiter-regex-2.0.0.tgz_1469243213054_0.07490310119464993"},"directories":{},"publish_time":1469243214967,"_cnpm_publish_time":1469243214967,"_hasShrinkwrap":false},"1.3.1":{"name":"delimiter-regex","description":"Create regex for template delimiters.","version":"1.3.1","homepage":"https://github.com/jonschlinkert/delimiter-regex","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/delimiter-regex.git"},"bugs":{"url":"https://github.com/jonschlinkert/delimiter-regex/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/delimiter-regex/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"keywords":["delim","delimiter","delimiters","delims","expression","expressions","regex","regexp","regular","syntax","template"],"dependencies":{"extend-shallow":"^1.1.2"},"gitHead":"57d73001c955c9150151c41f87644d775e3d580b","_id":"delimiter-regex@1.3.1","_shasum":"6385cae14004dbc0c1cd8dffffeb863d51999eff","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"6385cae14004dbc0c1cd8dffffeb863d51999eff","size":2160,"noattachment":false,"key":"/delimiter-regex/-/delimiter-regex-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/delimiter-regex/download/delimiter-regex-1.3.1.tgz"},"directories":{},"publish_time":1426704966618,"_cnpm_publish_time":1426704966618,"_hasShrinkwrap":false},"1.3.0":{"name":"delimiter-regex","description":"Create regex for template delimiters.","version":"1.3.0","homepage":"https://github.com/jonschlinkert/delimiter-regex","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/delimiter-regex.git"},"bugs":{"url":"https://github.com/jonschlinkert/delimiter-regex/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/delimiter-regex/blob/master/LICENSE"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"extend-shallow":"^0.2.0"},"devDependencies":{"mocha":"*"},"keywords":["delim","delimiter","delimiters","delims","expression","expressions","regex","regexp","regular","syntax","template"],"gitHead":"01f7237f9ba60a0a71719b5a11cebe363abc8602","_id":"delimiter-regex@1.3.0","_shasum":"2b0be25556b20b0d8b33a6bf99d03780e8aaf79b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"2b0be25556b20b0d8b33a6bf99d03780e8aaf79b","size":3080,"noattachment":false,"key":"/delimiter-regex/-/delimiter-regex-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/delimiter-regex/download/delimiter-regex-1.3.0.tgz"},"directories":{},"publish_time":1423030269111,"_cnpm_publish_time":1423030269111,"_hasShrinkwrap":false},"1.2.0":{"name":"delimiter-regex","description":"Create regex for template delimiters.","version":"1.2.0","homepage":"https://github.com/jonschlinkert/delimiter-regex","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/delimiter-regex.git"},"bugs":{"url":"https://github.com/jonschlinkert/delimiter-regex/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/delimiter-regex/blob/master/LICENSE"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"extend-shallow":"^0.2.0"},"devDependencies":{"mocha":"*"},"keywords":["delim","delimiter","delimiters","delims","expression","expressions","regex","regexp","regular","syntax","template"],"gitHead":"bdff8c88ade714a5d45fff73372e4f5a98c3655e","_id":"delimiter-regex@1.2.0","_shasum":"7b83239ccc956d86c961930c4ca818762b7aefb3","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"7b83239ccc956d86c961930c4ca818762b7aefb3","size":3058,"noattachment":false,"key":"/delimiter-regex/-/delimiter-regex-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/delimiter-regex/download/delimiter-regex-1.2.0.tgz"},"directories":{},"publish_time":1422938134340,"_cnpm_publish_time":1422938134340,"_hasShrinkwrap":false},"1.1.0":{"name":"delimiter-regex","description":"Create regex for template delimiters.","version":"1.1.0","homepage":"https://github.com/jonschlinkert/delimiter-regex","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/delimiter-regex.git"},"bugs":{"url":"https://github.com/jonschlinkert/delimiter-regex/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/delimiter-regex/blob/master/LICENSE"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"extend-shallow":"^0.2.0"},"devDependencies":{"mocha":"*"},"keywords":["delim","delimiter","delimiters","delims","expression","expressions","regex","regexp","regular","syntax","template"],"gitHead":"bdff8c88ade714a5d45fff73372e4f5a98c3655e","_id":"delimiter-regex@1.1.0","_shasum":"3c2f0193c5fbf643682717e593dba1e0497be926","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"3c2f0193c5fbf643682717e593dba1e0497be926","size":3033,"noattachment":false,"key":"/delimiter-regex/-/delimiter-regex-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/delimiter-regex/download/delimiter-regex-1.1.0.tgz"},"directories":{},"publish_time":1421369414316,"_cnpm_publish_time":1421369414316,"_hasShrinkwrap":false},"1.0.0":{"name":"delimiter-regex","description":"Create regex for template delimiters.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/delimiter-regex","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/delimiter-regex.git"},"bugs":{"url":"https://github.com/jonschlinkert/delimiter-regex/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/delimiter-regex/blob/master/LICENSE"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"regexp-special-chars":"^0.1.0"},"devDependencies":{"mocha":"*"},"keywords":["delim","delimiter","delimiters","delims","expression","expressions","regex","regexp","regular","syntax","template"],"gitHead":"232dd7f2791493da124a153168ce08250faac1eb","_id":"delimiter-regex@1.0.0","_shasum":"a0b085991aae4405f0bd4d16326f8d8a6ad8cd2e","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"a0b085991aae4405f0bd4d16326f8d8a6ad8cd2e","size":2985,"noattachment":false,"key":"/delimiter-regex/-/delimiter-regex-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/delimiter-regex/download/delimiter-regex-1.0.0.tgz"},"directories":{},"publish_time":1421353427771,"_cnpm_publish_time":1421353427771,"_hasShrinkwrap":false},"0.1.0":{"name":"delimiter-regex","description":"Create regex for template delimiters.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/delimiter-regex","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/delimiter-regex.git"},"bugs":{"url":"https://github.com/jonschlinkert/delimiter-regex/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/delimiter-regex/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["delim","delimiter","delimiters","delims","expression","expressions","regex","regexp","regular","syntax","template"],"dependencies":{"regexp-special-chars":"^0.1.0"},"_id":"delimiter-regex@0.1.0","_shasum":"8722052e623a655b14315dbe03b42cd77392e469","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"8722052e623a655b14315dbe03b42cd77392e469","size":2801,"noattachment":false,"key":"/delimiter-regex/-/delimiter-regex-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/delimiter-regex/download/delimiter-regex-0.1.0.tgz"},"directories":{},"publish_time":1416736355511,"_cnpm_publish_time":1416736355511,"_hasShrinkwrap":false}},"readme":"# delimiter-regex [![NPM version](https://img.shields.io/npm/v/delimiter-regex.svg?style=flat)](https://www.npmjs.com/package/delimiter-regex) [![NPM downloads](https://img.shields.io/npm/dm/delimiter-regex.svg?style=flat)](https://npmjs.org/package/delimiter-regex) [![Build Status](https://img.shields.io/travis/jonschlinkert/delimiter-regex.svg?style=flat)](https://travis-ci.org/jonschlinkert/delimiter-regex)\n\nCreate regex for template delimiters.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save delimiter-regex\n```\n\n## Usage\n\n```js\nvar delims = require('delimiter-regex');\n```\n\n**Example**:\n\nGet a regex for matching front-matter:\n\n```js\ndelims('---', '---');\n//=> /---\\s*([\\s\\S]*?)\\s*---/\n```\n\nIf no args are passed, es6 delimiter regex is returned:\n\n```js\ndelims();\n//=> /\\$\\{\\s*([\\s\\S]*?)\\s*\\}/\n```\n\n## Params\n\n* **delimiters** `{String|Array}`: supports array format (`delims([''])`) or list (`delims('')`)\n* **options**: currently RegExp `flags` is the only option\n\n**Flags example**\n\n```js\ndelims('', {flags: 'gm'});\n//=> /\\{\\{([^}}]*)\\}\\}/gm\n```\n\n## About\n\n### Related projects\n\nAre you using Update in your project? Have you published an [updater](https://github.com/update/update/blob/master/docs/updaters.md) and want to share your Update project with the world? Here are some suggestions:\n\n* If you get like Update and want to tweet about it, please use the hashtag `#updatejs` (not `@`)\n* Get implementation help on [StackOverflow](http://stackoverflow.com/questions/tagged/update) (please use the `updatejs` tag in questions)\n* **Gitter** Discuss Update with us on [Gitter](https://gitter.im/update/update)\n* If you publish an updater, thank you! To make your project as discoverable as possible, please add the keyword `updateupdater` to package.json.\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Building docs\n\n_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_\n\nTo generate the readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install -g verb verb-generate-readme && verb\n```\n\n### Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT license](https://github.com/jonschlinkert/delimiter-regex/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on July 22, 2016._","_attachments":{},"homepage":"https://github.com/jonschlinkert/delimiter-regex","bugs":{"url":"https://github.com/jonschlinkert/delimiter-regex/issues"},"license":"MIT"}