{"_id":"quoted-string-regex","_rev":"92857","name":"quoted-string-regex","description":"JavaScript regular expression for matching a quoted string.","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:30:47.000Z","created":"2015-11-02T12:07:06.179Z","1.0.0":"2018-01-15T09:08:03.252Z","0.1.1":"2015-11-02T12:15:18.732Z","0.1.0":"2015-11-02T12:07:06.179Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/regexps/quoted-string-regex.git"},"versions":{"1.0.0":{"name":"quoted-string-regex","description":"JavaScript regular expression for matching a quoted string.","version":"1.0.0","homepage":"https://github.com/regexps/quoted-string-regex","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/regexps/quoted-string-regex.git"},"bugs":{"url":"https://github.com/regexps/quoted-string-regex/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^3.5.3"},"keywords":["quoted","regex","string"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["es6-template-regex","year-range-regex","to-regex-range"]},"lint":{"reflinks":true}},"gitHead":"5cd68282239900281d720a4d12e1f3ed07281623","_id":"quoted-string-regex@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.1.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"shasum":"8418d7ee434bb47fb5da384c5c365afc99bc8ff9","size":2611,"noattachment":false,"key":"/quoted-string-regex/-/quoted-string-regex-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/quoted-string-regex/download/quoted-string-regex-1.0.0.tgz"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quoted-string-regex-1.0.0.tgz_1516007281859_0.49689492979086936"},"directories":{},"publish_time":1516007283252,"_hasShrinkwrap":false,"_cnpm_publish_time":1516007283252},"0.1.1":{"name":"quoted-string-regex","description":"JavaScript regular expression for matching a quoted string.","version":"0.1.1","homepage":"https://github.com/regexps/quoted-string-regex","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/regexps/quoted-string-regex.git"},"bugs":{"url":"https://github.com/regexps/quoted-string-regex/issues"},"license":"MIT","files":["index.js"],"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"keywords":["quoted","regex","string"],"verb":{"related":{"list":["todo-regex","copyright-regex"]}},"gitHead":"4705918c4e0b35388cd41c8dc25329a6f977ed04","_id":"quoted-string-regex@0.1.1","_shasum":"b05335ec8788d32f08a7e0181e4c734cde96c5d4","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"b05335ec8788d32f08a7e0181e4c734cde96c5d4","size":1947,"noattachment":false,"key":"/quoted-string-regex/-/quoted-string-regex-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/quoted-string-regex/download/quoted-string-regex-0.1.1.tgz"},"directories":{},"publish_time":1446466518732,"_cnpm_publish_time":1446466518732,"_hasShrinkwrap":false},"0.1.0":{"name":"quoted-string-regex","description":"JavaScript regular expression for matching a quoted string.","version":"0.1.0","homepage":"https://github.com/regexps/quoted-string-regex","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/regexps/quoted-string-regex.git"},"bugs":{"url":"https://github.com/regexps/quoted-string-regex/issues"},"license":"MIT","files":["index.js"],"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"keywords":["quoted","regex","string"],"verb":{"related":{"list":["todo-regex","copyright-regex"]}},"gitHead":"6f4e4c3b33a6cc906b757ad779269fdf4b6c4509","_id":"quoted-string-regex@0.1.0","_shasum":"e470437ef9aeeec4c83bf01042c9513e59f9bc7c","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"e470437ef9aeeec4c83bf01042c9513e59f9bc7c","size":1949,"noattachment":false,"key":"/quoted-string-regex/-/quoted-string-regex-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/quoted-string-regex/download/quoted-string-regex-0.1.0.tgz"},"directories":{},"publish_time":1446466026179,"_cnpm_publish_time":1446466026179,"_hasShrinkwrap":false}},"readme":"# quoted-string-regex [![NPM version](https://img.shields.io/npm/v/quoted-string-regex.svg?style=flat)](https://www.npmjs.com/package/quoted-string-regex) [![NPM monthly downloads](https://img.shields.io/npm/dm/quoted-string-regex.svg?style=flat)](https://npmjs.org/package/quoted-string-regex) [![NPM total downloads](https://img.shields.io/npm/dt/quoted-string-regex.svg?style=flat)](https://npmjs.org/package/quoted-string-regex) [![Linux Build Status](https://img.shields.io/travis/regexps/quoted-string-regex.svg?style=flat&label=Travis)](https://travis-ci.org/regexps/quoted-string-regex)\n\n> JavaScript regular expression for matching a quoted string.\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save quoted-string-regex\n```\n\n## Usage\n\n```js\nvar regex = require('quoted-string-regex');\nconsole.log(regex().exec('var foo = \\'bar\\';')[2]);\n//=> ['bar']\n\nconsole.log(regex().exec('var foo = \"bar\";')[2]);\n//=> ['bar']\n\nconsole.log(regex().exec('var foo = \"bar\";\\nvar bar = \\'baz\\'')[2]);\n//=> ['bar']\n\nconsole.log('var foo = \"one\";\\nvar bar = \\'two\\';\\nvar baz = `three`'.match(regex()));\n//=> [ '\"one\"', '\\'two\\'', '`three`' ]\n\nconsole.log(regex().exec('foo bar \". // \\' \\\\ . // \\' \\\\ .\" baz')[2]);\n//=> ['. // \\' \\\\ . // \\' \\\\ .']\n```\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\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</details>\n<details>\n<summary><strong>Building docs</strong></summary>\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</details>\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [es6-template-regex](https://www.npmjs.com/package/es6-template-regex): Regular expression for matching es6 template delimiters in a string. | [homepage](https://github.com/regexhq/es6-template-regex \"Regular expression for matching es6 template delimiters in a string.\")\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* [year-range-regex](https://www.npmjs.com/package/year-range-regex): Generates a regular expression for validating a range of years. | [homepage](https://github.com/jonschlinkert/year-range-regex \"Generates a regular expression for validating a range of years.\")\n\n### Author\n\n**Jon Schlinkert**\n\n* [linkedin/in/jonschlinkert](https://linkedin.com/in/jonschlinkert)\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2018, [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 January 15, 2018._","_attachments":{},"homepage":"https://github.com/regexps/quoted-string-regex","bugs":{"url":"https://github.com/regexps/quoted-string-regex/issues"},"license":"MIT"}