FLUJOS/BACK_BACK/node_modules/hsla-regex/index.js
2025-11-07 00:06:12 +01:00

9 lines
254 B
JavaScript
Executable file

'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;
}