Regex for matching and parsing copyright statements.
Install with npm:
$ npm install --save copyright-regexvar regex = require('copyright-regex');
var str = 'abc\nCopyright (c) 2013-2015, 2016, Jon Schlinkert.\nxyz';
var matches = str.match(regex());
// matches[0] => 'Copyright (c) 2013-2015, 2016, Jon Schlinkert'
// matches[1] => 'Copyright'
// matches[2] => '(c)'
// matches[3] => '2013-2015, 2016, '
// matches[4] => '2016'
// matches[5] => 'Jon Schlinkert'Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
| Commits | Contributor | 
|---|---|
| 18 | jonschlinkert | 
| 1 | arthurvr | 
| 1 | tunnckoCore | 
| 1 | pdehaan | 
(This document was generated by verb-generate-readme (a verb generator), please don't edit the readme directly. Any changes to the readme must be made in .verb.md.)
To generate the readme and API documentation with verb:
$ npm install -g verb verb-generate-readme && verbInstall dev dependencies:
$ npm install -d && npm testJon Schlinkert
Copyright © 2016, Jon Schlinkert. Released under the MIT license.
This file was generated by verb-generate-readme, v0.2.0, on December 07, 2016.