]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - scripts/find-alive.pl
scripts/find-alive.pl: Auto-detect auto-added ctors/dtors names (#1769)
[thirdparty/squid.git] / scripts / find-alive.pl
index 40422c15b14da2523081fb6f4e5b0d3cde0cc6de..f0331eef085f8f89767859facbcdfa3376fe8ca1 100755 (executable)
@@ -75,8 +75,8 @@ my %Pairs = (
 if (!$Pairs{$Thing}) {
     warn("guessing construction/destruction pattern for $Thing\n");
     $Pairs{$Thing} = [
-        "\\b$Thing construct.*, this=(\\S+)",
-        "\\b$Thing destruct.*, this=(\\S+)",
+        "\\b${Thing}:? construct.*, this=(\\S+)",
+        "\\b${Thing}:? destruct.*, this=(\\S+)",
         ];
 }