Sign in
apache
/
nifi-fds
/
6435e394f6c7c31d3f61a4bfc9702bde2a1659fa
/
.
/
node_modules
/
rgba-regex
/
index.js
blob: 5a4543e7a1c7b26d0f676c9277c8ac43d30a4e71 [
file
] [
log
] [
blame
]
'use strict'
;
module
.
exports
=
function
rgbaRegex
(
options
)
{
options
=
options
||
{};
return
options
.
exact
?
/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*(?:\.\d+)?)\)$/
:
/rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*(?:\.\d+)?)\)/
ig
;
}