Docs: add note on non-functionality of "exists" for de-tainting
[users/jgh/exim.git] / test / patchexim
index cb9f98825102d06cee8eba8b69e886bc1ed2af78..2a40778205781b737a2c84d8d991e6a8b53e0b69 100755 (executable)
@@ -20,7 +20,8 @@ while(<IN>)
   {
   s/>>>running<<</<<<testing>>>/;
   s{
-    (\d+\.\d+                         # major.minor
+    (\d+[_.]\d+                       # major.minor
+    (?:[_.]\d+)?                      # optional security-patchlevel
     (?:[_.]\d+)?                      # optional patchlevel
     (?:[_-]RC\d+|[_-]?dev(?:start)?)? # optional RC or dev(start)
     (?:(?:[_-]\d+)?                   # git tag distance