From b9c5f1429e5d7209472b3a90e6962f9effca7aba Mon Sep 17 00:00:00 2001 From: petersirka Date: Mon, 6 May 2024 13:11:51 +0200 Subject: [PATCH] Added additional `tic` prefix for icon validator. --- jsonschema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonschema.js b/jsonschema.js index 16b7da5..6f506af 100644 --- a/jsonschema.js +++ b/jsonschema.js @@ -8,7 +8,7 @@ require('./index'); const REG_NUMBER = /[\d,.]+/; const REG_COLOR = /^#([A-F0-9]{3}|[A-F0-9]{6}|[A-F0-9]{8})$/i; -const REG_ICON = /^(ti|tic|far|fab|fad|fal|fas|fa)?\s(fa|ti)-[a-z0-9-]+$/; +const REG_ICON = /^(ti|tic|far|fab|fad|fal|fas|fa)?\s(fa|ti|tic)-[a-z0-9-]+$/; const REG_WSPACE = /\u00A0/g; function Value() {}