]> 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:27:12 +0000 (00:27 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 29 Mar 2012 22:27:12 +0000 (00:27 +0200)
Bugzilla/Search/Quicksearch.pm

index 7b951d5aed8db15ceb99c37042c5bf83955932a1..1d5965bf7429be79224346b00878c6cec0a7d3d3 100644 (file)
@@ -421,7 +421,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;
                     }