From fb50bf099deeff5edd8d336be4d3b8657d7faff0 Mon Sep 17 00:00:00 2001 From: Max Ostapenko <1611259+max-ostapenko@users.noreply.github.com> Date: Tue, 12 Nov 2024 02:34:29 +0100 Subject: [PATCH] stricter regex --- src/technologies/c.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/technologies/c.json b/src/technologies/c.json index 42656415f..ca03fc9b2 100644 --- a/src/technologies/c.json +++ b/src/technologies/c.json @@ -1997,8 +1997,8 @@ }, "oss": true, "scriptSrc": [ - "/clientjs@(\\d.*?)/\\;version:\\1", - "/ClientJS/(?:(\\d.*?)/)?\\;version:\\1" + "/clientjs@([\\d.]+)\\;version:\\1", + "/ClientJS/([\\d.]+)/\\;version:\\1" ], "website": "https://clientjs.org" },