Reverting changes I accidently made in r34507.
[WebKit-https.git] / WebKitTools / Scripts / bisect-builds
index cb9ae548a644a9865eae8021806f043d9f02f8f1..55b31c14377c7567545d3fa2414d1e5318fd0ab9 100755 (executable)
@@ -271,7 +271,7 @@ sub findSafariVersion($)
     while (<PLIST>) {
         if (m#^\s*<key>CFBundleShortVersionString</key>#) {
             $version = <PLIST>;
     while (<PLIST>) {
         if (m#^\s*<key>CFBundleShortVersionString</key>#) {
             $version = <PLIST>;
-            $version =~ s#^\s*<string>([0-9.]+)[^<]*</string>\s*[\r\n]*#$1#;
+            $version =~ s#^\s*<string>(.+)</string>\s*[\r\n]*#$1#;
         }
     }
     close(PLIST);
         }
     }
     close(PLIST);