aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-03-30 00:23:26 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-03-30 00:23:26 +0200
commit29416b9fc691e0af9ba8974c5f24f8ad4b9f8c16 (patch)
tree05b027e87bf0cc33f077f55d75e1e561f94ba771
parentBug 643681 - Bug.get should also return the time spent on a bug for users in ... (diff)
downloadbugzilla-29416b9fc691e0af9ba8974c5f24f8ad4b9f8c16.tar.gz
bugzilla-29416b9fc691e0af9ba8974c5f24f8ad4b9f8c16.tar.bz2
bugzilla-29416b9fc691e0af9ba8974c5f24f8ad4b9f8c16.zip
Fix bustage: Perl 5.8.x doesn't understand \g1 in regexp (must use \1 instead)
-rw-r--r--Bugzilla/Search/Quicksearch.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search/Quicksearch.pm b/Bugzilla/Search/Quicksearch.pm
index cd4deb94c..5c079c66d 100644
--- a/Bugzilla/Search/Quicksearch.pm
+++ b/Bugzilla/Search/Quicksearch.pm
@@ -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;
}