chiark
/
gitweb
/
~richardk
/
newstools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
aa72f33
)
detect-conversations: correct all-groups regexp.
author
Richard Kettlewell
<rjk@terraraq.org.uk>
Sun, 3 Jun 2012 18:15:51 +0000 (19:15 +0100)
committer
Richard Kettlewell
<rjk@terraraq.org.uk>
Sun, 3 Jun 2012 18:18:03 +0000 (19:18 +0100)
scripts/detect-conversations
patch
|
blob
|
history
diff --git
a/scripts/detect-conversations
b/scripts/detect-conversations
index
9163aad
..
58c793f
100755
(executable)
--- a/
scripts/detect-conversations
+++ b/
scripts/detect-conversations
@@
-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