{"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","tarball":"http://registry-npm.ywwl.com/delimiter-regex/download/delimiter-regex-1.0.0.tgz","integrity":"sha512-Bi2tw6OmoeDNe5bNCNnEWpWf+csL1hNusRE/BrVSoGN/y835CFVkdLtv1VT2/VQikVNh6w/cg7vomlUADn/tYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDCLOxsrmUR3yvcpultULlL0sSjruCyxqhPcn2DI5+rBAiEAqz66aXQMjpbXWWYA1L9altgQgu5eheGtFToeWKoex5Y="}],"size":2985,"noattachment":false,"key":"/delimiter-regex/-/delimiter-regex-1.0.0.tgz"},"directories":{},"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._","publish_time":1421353427771,"_cnpm_publish_time":1421353427771,"dist-tags":{"latest":"2.0.0"}}