From 850bedf3f4e86ad9f6363ca0aa2e8f33aa4827fc Mon Sep 17 00:00:00 2001 From: thc202 Date: Thu, 3 Nov 2022 08:55:57 +0000 Subject: [PATCH] Escape special regular expression characters Escape `{` to allow the regular expression to be used as is in Java as well. Also escape `.`, for consistency with the first CSS regular expression. Signed-off-by: thc202 --- src/technologies/p.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/technologies/p.json b/src/technologies/p.json index 31472dcd3..6f3e7e6cb 100644 --- a/src/technologies/p.json +++ b/src/technologies/p.json @@ -2421,7 +2421,7 @@ "cats": [ 66 ], - "css": "\\.p-(?:toast|calendar|dialog-mask|menuitem-text)(?:-content)?{", + "css": "\\.p-(?:toast|calendar|dialog-mask|menuitem-text)(?:-content)?\\{", "description": "PrimeNG is a rich set of open-source UI Components for Angular.", "icon": "PrimeNG.svg", "oss": true, @@ -2435,7 +2435,7 @@ "cats": [ 66 ], - "css": ".p-(?:toast|calendar|dialog-mask|menuitem-text)(?:-content)?{", + "css": "\\.p-(?:toast|calendar|dialog-mask|menuitem-text)(?:-content)?\\{", "description": "PrimeReact is a rich set of open-source UI Components for React.", "icon": "PrimeReact.svg", "oss": true, @@ -2449,7 +2449,7 @@ "cats": [ 66 ], - "css": ".p-(?:toast|calendar|dialog-mask|menuitem-text)(?:-content)?{", + "css": "\\.p-(?:toast|calendar|dialog-mask|menuitem-text)(?:-content)?\\{", "description": "PrimeVue is a rich set of open-source UI Components for Vue.js.", "icon": "PrimeVue.svg", "oss": true,