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