{"_id":"mentions-regex","_rev":"3518635","name":"mentions-regex","description":"100% twitter compatible `@mentions` regex! Regular expression for matching `@username` mentions, as used on twitter, facebook, github, etc.","dist-tags":{"latest":"2.0.3"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"time":{"modified":"2024-08-27T20:52:54.000Z","created":"2014-12-15T15:29:43.862Z","2.0.3":"2015-05-04T20:56:10.554Z","2.0.2":"2015-05-03T16:21:36.270Z","2.0.1":"2015-03-28T16:16:22.412Z","2.0.0":"2015-03-28T16:11:51.749Z","1.0.1":"2014-12-21T18:02:14.498Z","1.0.0":"2014-12-21T05:02:28.757Z","0.1.0":"2014-12-15T15:29:43.862Z"},"users":{},"author":{"name":"Charlike Mike Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/regexps/mentions-regex.git"},"versions":{"2.0.3":{"name":"mentions-regex","version":"2.0.3","description":"100% twitter compatible `@mentions` regex! Regular expression for matching `@username` mentions, as used on twitter, facebook, github, etc.","scripts":{"test":"standard && node test.js","travis":"standard && istanbul cover test.js --report lcovonly"},"author":{"name":"Charlike Mike Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/regexps/mentions-regex.git"},"keywords":["correct","expression","facebook","github","google","mention","mentions","regex","regexp","regexps","regular","regular expression","regular expressions","twitter","user"],"license":{"type":"MIT","url":"https://github.com/regexps/mentions-regex/blob/master/LICENSE.md"},"dependencies":{},"devDependencies":{"assertit":"^0.1.0","istanbul":"^0.3.9","standard":"^3.7.3"},"gitHead":"b6a83b2396a1b731d1b84dfdce10551651c4f716","bugs":{"url":"https://github.com/regexps/mentions-regex/issues"},"homepage":"https://github.com/regexps/mentions-regex#readme","_id":"mentions-regex@2.0.3","_shasum":"442717a0048e53c2d2e2ae5e63a4e54a55ca9603","_from":".","_npmVersion":"2.9.0","_nodeVersion":"1.8.1","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"442717a0048e53c2d2e2ae5e63a4e54a55ca9603","size":4820,"noattachment":false,"key":"/mentions-regex/-/mentions-regex-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/mentions-regex/download/mentions-regex-2.0.3.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T11:24:13.863Z","publish_time":1430772970554,"_cnpm_publish_time":1430772970554},"2.0.2":{"name":"mentions-regex","version":"2.0.2","description":"100% twitter compatible `@mentions` regex! Regular expression for matching `@username` mentions, as used on twitter, facebook, github, etc.","scripts":{"test":"mocha","test-cov":"istanbul cover _mocha","test-travis":"istanbul cover _mocha --report lcovonly"},"author":{"name":"Charlike Mike Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/regexps/mentions-regex.git"},"keywords":["correct","expression","facebook","github","google","mention","mentions","regex","regexp","regexps","regular","regular expression","regular expressions","twitter","user"],"license":{"type":"MIT","url":"https://github.com/regexps/mentions-regex/blob/master/license.md"},"dependencies":{},"devDependencies":{"istanbul":"~0.3.11","mocha":"~2.2.1"},"gitHead":"be8e881a7f17348275b11508048da7f2dd5d06db","bugs":{"url":"https://github.com/regexps/mentions-regex/issues"},"homepage":"https://github.com/regexps/mentions-regex#readme","_id":"mentions-regex@2.0.2","_shasum":"cb3417a78c5f1385295ee2dbcd586c12dc61b811","_from":".","_npmVersion":"2.9.0","_nodeVersion":"1.8.1","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"cb3417a78c5f1385295ee2dbcd586c12dc61b811","size":5019,"noattachment":false,"key":"/mentions-regex/-/mentions-regex-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/mentions-regex/download/mentions-regex-2.0.2.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T11:24:13.010Z","publish_time":1430670096270,"_cnpm_publish_time":1430670096270},"2.0.1":{"name":"mentions-regex","version":"2.0.1","description":"100% twitter compatible `@mentions` regex! Regular expression for matching `@username` mentions, as used on twitter, facebook, github, etc.","scripts":{"test":"mocha","test-cov":"istanbul cover _mocha","test-travis":"istanbul cover _mocha --report lcovonly"},"author":{"name":"Charlike Mike Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/regexps/mentions-regex.git"},"keywords":["correct","expression","facebook","github","google","mention","mentions","regex","regexp","regexps","regular","regular expression","regular expressions","twitter","user"],"license":{"type":"MIT","url":"https://github.com/regexps/mentions-regex/blob/master/license.md"},"dependencies":{},"devDependencies":{"istanbul":"~0.3.11","mocha":"~2.2.1"},"gitHead":"9847aecbeac06e1a57442959166eec1c83ba8747","bugs":{"url":"https://github.com/regexps/mentions-regex/issues"},"homepage":"https://github.com/regexps/mentions-regex","_id":"mentions-regex@2.0.1","_shasum":"a32355be1d70c9f4e79d2683b8eedc52d2bdb98e","_from":".","_npmVersion":"2.7.0","_nodeVersion":"1.5.1","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"a32355be1d70c9f4e79d2683b8eedc52d2bdb98e","size":4864,"noattachment":false,"key":"/mentions-regex/-/mentions-regex-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mentions-regex/download/mentions-regex-2.0.1.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T11:24:12.137Z","publish_time":1427559382412,"_cnpm_publish_time":1427559382412},"2.0.0":{"name":"mentions-regex","version":"2.0.0","description":"100% twitter compatible `@mentions` regex! Regular expression for matching `@username` mentions, as used on twitter, facebook, github, etc.","scripts":{"test":"mocha","test-cov":"istanbul cover _mocha","test-travis":"istanbul cover _mocha --report lcovonly"},"author":{"name":"Charlike Mike Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/regexps/mentions-regex.git"},"keywords":["correct","expression","facebook","github","google","mention","mentions","regex","regexp","regexps","regular","regular expression","regular expressions","twitter","user"],"license":{"type":"MIT","url":"https://github.com/regexps/mentions-regex/blob/master/license.md"},"dependencies":{},"devDependencies":{"istanbul":"~0.3.11","mocha":"~2.2.1"},"gitHead":"d980fa517e8dd158e6f6444a448493758d752abc","bugs":{"url":"https://github.com/regexps/mentions-regex/issues"},"homepage":"https://github.com/regexps/mentions-regex","_id":"mentions-regex@2.0.0","_shasum":"2ab9811d6ba399ce0363e5d5802561c86bfa2f33","_from":".","_npmVersion":"2.7.0","_nodeVersion":"1.5.1","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"2ab9811d6ba399ce0363e5d5802561c86bfa2f33","size":4837,"noattachment":false,"key":"/mentions-regex/-/mentions-regex-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mentions-regex/download/mentions-regex-2.0.0.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T11:24:11.247Z","publish_time":1427559111749,"_cnpm_publish_time":1427559111749},"1.0.1":{"name":"mentions-regex","version":"1.0.1","description":"The correct mention(s) regex. Regular expression for twitter, facebook, github, etc user mentions","scripts":{"lint":"jshint . && jscs . --reporter inline","test":"mocha -r should"},"author":{"name":"Charlike Make Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/regexps/mentions-regex.git"},"keywords":["correct","etc","expression","facebook","github","google","mention","mentions","regex","regexp","regexps","regular","regular expression","regular expressions","twitter","user"],"license":{"type":"MIT","url":"https://github.com/regexps/mentions-regex/blob/master/license.md"},"dependencies":{},"devDependencies":{"mocha":"^2.0.1","should":"^4.4.1"},"gitHead":"d89ad4a9b73044707b5dff03fd943d10e4411275","bugs":{"url":"https://github.com/regexps/mentions-regex/issues"},"homepage":"https://github.com/regexps/mentions-regex","_id":"mentions-regex@1.0.1","_shasum":"45866f3c8260bded5c040a12d48eeae6cd945914","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"45866f3c8260bded5c040a12d48eeae6cd945914","size":3827,"noattachment":false,"key":"/mentions-regex/-/mentions-regex-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mentions-regex/download/mentions-regex-1.0.1.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T11:24:10.332Z","publish_time":1419184934498,"_cnpm_publish_time":1419184934498},"1.0.0":{"name":"mentions-regex","version":"1.0.0","description":"The correct mention(s) regex. Regular expression for twitter, facebook, github, etc user mentions","scripts":{"lint":"jshint . && jscs . --reporter inline","test":"mocha -r should"},"author":{"name":"Charlike Make Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/regexps/mentions-regex.git"},"keywords":["correct","etc","expression","facebook","github","google","mention","mentions","regex","regexp","regexps","regular","regular expression","regular expressions","twitter","user"],"license":{"type":"MIT","url":"https://github.com/regexps/mentions-regex/blob/master/license.md"},"dependencies":{},"devDependencies":{"mocha":"^2.0.1","should":"^4.4.1"},"gitHead":"db047a0a14322c444716e6302520c5132d40b0e0","bugs":{"url":"https://github.com/regexps/mentions-regex/issues"},"homepage":"https://github.com/regexps/mentions-regex","_id":"mentions-regex@1.0.0","_shasum":"0a97584774cef5b2991c211467194aa243e2ba88","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"0a97584774cef5b2991c211467194aa243e2ba88","size":3821,"noattachment":false,"key":"/mentions-regex/-/mentions-regex-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mentions-regex/download/mentions-regex-1.0.0.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T11:24:09.439Z","publish_time":1419138148757,"_cnpm_publish_time":1419138148757},"0.1.0":{"name":"mentions-regex","description":"The correct mention(s) regex. Regex done right!","version":"0.1.0","scripts":{"test":"npm install && node_modules/.bin/mocha --require should"},"author":{"name":"Charlike Make Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"keywords":["regex","regexp","regexps","mentions","mention","twitter","github","facebook","google"],"repository":{"type":"git","url":"git://github.com/regexps/mentions-regex.git"},"license":{"type":"MIT","url":"https://github.com/regexps/mentions-regex/blob/master/license.md"},"dependencies":{},"devDependencies":{"mocha":"^2.0.1","should":"^4.4.1"},"engines":{"node":">= 0.10.33","npm":">= 1.4.28"},"gitHead":"52db4149b765a6fd83efc7d3b53021ca3549d5bb","bugs":{"url":"https://github.com/regexps/mentions-regex/issues"},"homepage":"https://github.com/regexps/mentions-regex","_id":"mentions-regex@0.1.0","_shasum":"3e1e5435efc399ab366e9e17ef06baf1a852dc96","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"3e1e5435efc399ab366e9e17ef06baf1a852dc96","size":3374,"noattachment":false,"key":"/mentions-regex/-/mentions-regex-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mentions-regex/download/mentions-regex-0.1.0.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T11:24:08.558Z","publish_time":1418657383862,"_cnpm_publish_time":1418657383862}},"readme":"## [![npm version][npmjs-img]][npmjs-url] [![standard style][standard-img]][standard-url] [![build status][travis-img]][travis-url] [![coveralls img][coveralls-img]][coveralls-url]  [![deps status][daviddm-img]][daviddm-url]\n\n> 100% twitter compatible `@mentions` regex! Regular expression for matching `@username` mentions, as used on twitter, facebook, github, etc.\n\n## Install\n```\nnpm i --save mentions-regex\nnpm test\n```\n\n\n## [mentionsRegex](index.js#L18)\n> Compatible twitter mentions regex, not only of course!\n\n* `[dot]` **{Boolean}** if `true` it will allow to match dots\n* `return` **{RegExp}**\n\n\n## Usage\n> For more use-cases see [tests](./test.js)\n\n```js\nvar mentionsRegex = require('mentions-regex');\n\nmentionsRegex().test('foo @bar baz');\n//=> true\n\nmentionsRegex().exec('foo @bar baz')[1];\n//=> 'bar'\n\nmentionsRegex().test('foo email@bar.com baz');\n//=> false\n\nmentionsRegex(true).test('foo email@bar.com baz');\n//=> false\n\nmentionsRegex(true).test('foo @bar.com baz');\n//=> true\n\nmentionsRegex(true).exec('foo @bar.com baz')[1];\n//=> 'bar.com'\n```\n\n\n## Related\n- [abbrev-kindof](https://github.com/tunnckoCore/abbrev-kindof#readme): `kind-of` with single letter abbreviations to javascript native types, like `kindof(val, 'soa')` will return true if `val` is string, object or array.\n- [copyright-regex](https://github.com/regexps/copyright-regex): Regex for matching and parsing copyright statements.\n- [dirname-regex](https://github.com/regexps/dirname-regex): Regular expression for matching the directory part of a file path.\n- [glob-path-regex](https://github.com/regexps/glob-path-regex): Regular expression for matching the parts of glob pattern.\n- [regexify](https://github.com/hemanth/regexify): Regex everything!\n\n\n\n## Author\n**Charlike Mike Reagent**\n+ [gratipay/tunnckoCore][author-gratipay]\n+ [twitter/tunnckoCore][author-twitter]\n+ [github/tunnckoCore][author-github]\n+ [npmjs/tunnckoCore][author-npmjs]\n+ [more ...][contrib-more]\n\n\n## License [![MIT license][license-img]][license-url]\nCopyright (c) 2014-2015 [Charlike Mike Reagent][contrib-more], [contributors][contrib-graf].  \nReleased under the [`MIT`][license-url] license.\n\n\n[npmjs-url]: http://npm.im/mentions-regex\n[npmjs-img]: https://img.shields.io/npm/v/mentions-regex.svg?style=flat&label=mentions-regex\n\n[coveralls-url]: https://coveralls.io/r/regexps/mentions-regex?branch=master\n[coveralls-img]: https://img.shields.io/coveralls/regexps/mentions-regex.svg?style=flat\n\n[license-url]: https://github.com/regexps/mentions-regex/blob/master/LICENSE.md\n[license-img]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat\n\n[travis-url]: https://travis-ci.org/regexps/mentions-regex\n[travis-img]: https://img.shields.io/travis/regexps/mentions-regex.svg?style=flat\n\n[daviddm-url]: https://david-dm.org/regexps/mentions-regex\n[daviddm-img]: https://img.shields.io/david/dev/regexps/mentions-regex.svg?style=flat\n\n[author-gratipay]: https://gratipay.com/tunnckoCore\n[author-twitter]: https://twitter.com/tunnckoCore\n[author-github]: https://github.com/tunnckoCore\n[author-npmjs]: https://npmjs.org/~tunnckocore\n\n[contrib-more]: http://j.mp/1stW47C\n[contrib-graf]: https://github.com/regexps/mentions-regex/graphs/contributors\n\n[standard-url]: https://github.com/feross/standard\n[standard-img]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat\n\n***\n\n_Proudly generated by [docks(1)](https://github.com/tunnckoCore) on May 4, 2015_\n\n\n\n","_attachments":{},"homepage":"https://github.com/regexps/mentions-regex#readme","bugs":{"url":"https://github.com/regexps/mentions-regex/issues"},"license":{"type":"MIT","url":"https://github.com/regexps/mentions-regex/blob/master/LICENSE.md"}}