chiark / gitweb /
detect-conversations: correct all-groups regexp.
authorRichard Kettlewell <rjk@terraraq.org.uk>
Sun, 3 Jun 2012 18:15:51 +0000 (19:15 +0100)
committerRichard Kettlewell <rjk@terraraq.org.uk>
Sun, 3 Jun 2012 18:18:03 +0000 (19:18 +0100)
scripts/detect-conversations

index 9163aad..58c793f 100755 (executable)
@@ -40,7 +40,7 @@ die "ERROR: excess arguments\n" if @ARGV > 0;
 
 # Compute group pattern
 my $re;
-if(@hierarchies == 0) { $re = ""; }
+if(@hierarchies == 0) { $re = "^\\S+"; }
 else                  { $re = "^(" . join("|", @hierarchies) . ")\\.\\S+"; }
 
 # Get group list