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 <thc202@gmail.com>
main
thc202 2 years ago
parent 5f5d9df7ef
commit 850bedf3f4
No known key found for this signature in database
GPG Key ID: F29DBD3500548AA2

@ -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,

Loading…
Cancel
Save