-
-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Description: PatchPanda currently triggers a Missing GitHub regex warning even when a regex is correctly configured. This appears to be caused by the validation logic failing when the dot character . is used literally instead of being escaped as ..
Observed Examples:
Service: changedetection
Detected Version: 0.52.9
Configured Regex: ^\d+.\d+.\d+$
Service: ClipCascade
Detected Version: 22.04
Configured Regex: ^\d+.\d+$
The Problem: In standard regex, the . character matches any character. To strictly match a semantic version (where the dot is a literal separator), it should be escaped (.). However, PatchPanda seems to misinterpret these patterns or mark them as "missing" because they don't follow a specific internal strict format, leading to false-positive warnings.
Suggested Fix: The engine should correctly validate patterns where . is used for versioning or explicitly suggest/require the escaped . format without dropping the regex status to "Missing".