Files
NapCatQQ/.pnpm-store/v3/files/8f/ec840dbfcb7304e7c1f914f9fc7633177adade96b980d82322fefe2ee9a595e222e8ae0a938f5d29ca789b03449ca0da4f9d68df281530998a135958c8cab3
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

4 lines
161 B
Plaintext

const colorRegex = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
export { colorRegex };