]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix bustage: Perl 5.8.x doesn't understand \g1 in regexp (must use \1 instead)
authorFrédéric Buclin <LpSolit@gmail.com>
Thu, 29 Mar 2012 22:23:26 +0000 (00:23 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 29 Mar 2012 22:23:26 +0000 (00:23 +0200)
Bugzilla/Search/Quicksearch.pm

index cd4deb94c87dcdc54956a1d48d8364b450d1e28f..5c079c66d28b9d0fc302ea1250132acbb3256742 100644 (file)
@@ -408,7 +408,7 @@ sub _handle_field_names {
                     # If the string was quoted to protect some special
                     # characters such as commas and colons, we need
                     # to remove quotes.
-                    if ($value =~ /^(["'])(.+)\g1$/) {
+                    if ($value =~ /^(["'])(.+)\1$/) {
                         $value = $2;
                         $value =~ s/\\(["'])/$1/g;
                     }