]> git.donarmstrong.com Git - debbugs.git/commitdiff
add missing /g
authorDon Armstrong <don@donarmstrong.com>
Sat, 21 Feb 2015 07:49:51 +0000 (23:49 -0800)
committerDon Armstrong <don@donarmstrong.com>
Sat, 21 Feb 2015 07:49:51 +0000 (23:49 -0800)
Debbugs/CGI/Pkgreport.pm

index 4664effd027e80736bb99bc065243970c4cbce18..da937e5516f0b11d0c5e30892aaccf578afa2222 100644 (file)
@@ -472,7 +472,7 @@ sub get_bug_order_index {
          my $match = 0;
           my $first_field = 1; # true if no previous fields have been
                                # checked
-          while ($el =~ /(?<joiner>^|\+|,)(?<field>[^=]+)=(?<value>[^=,\+])/) {
+          while ($el =~ /(?<joiner>^|\+|,)(?<field>[^=]+)=(?<value>[^=,\+])/g) {
               my ($j,$f,$v) = @+{qw(joiner field value)};
               if (not defined $j) {
                   $j = '+';