14 lines
281 B
JavaScript
14 lines
281 B
JavaScript
|
/*!
|
||
|
* author-regex <https://github.com/jonschlinkert/author-regex>
|
||
|
*
|
||
|
* Copyright (c) 2014, 2017, Jon Schlinkert.
|
||
|
* Released under the MIT License.
|
||
|
*/
|
||
|
|
||
|
'use strict';
|
||
|
|
||
|
module.exports = function() {
|
||
|
return /^\s*([^<(]*?)\s*([<(]([^>)]*?)[>)])?\s*([<(]([^>)]*?)[>)])*\s*$/;
|
||
|
};
|
||
|
|