initial commit
This commit is contained in:
9
node_modules/rgb-regex/index.js
generated
vendored
Normal file
9
node_modules/rgb-regex/index.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function rgbRegex(options) {
|
||||
options = options || {};
|
||||
|
||||
return options.exact ?
|
||||
/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/ :
|
||||
/rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)/ig;
|
||||
}
|
||||
Reference in New Issue
Block a user