summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2014-08-08 23:13:35 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2014-08-08 23:13:35 (GMT)
commitf23a9ff49f62351aa7fb25431400df1d3ed75ca7 (patch)
treed5ef5f1511db6f0d4798efa59020bb1b665bd4da
parent370c77bbfac4a24ddfa975533d96110a49933445 (diff)
downloadtip-bot-f23a9ff49f62351aa7fb25431400df1d3ed75ca7.zip
tip-bot-f23a9ff49f62351aa7fb25431400df1d3ed75ca7.tar.gz
tip-bot-f23a9ff49f62351aa7fb25431400df1d3ed75ca7.tar.bz2
tip-bot-f23a9ff49f62351aa7fb25431400df1d3ed75ca7.tar.xz
For /n/ type links allow counts other than 24
Make it a little easier to comply with the formatting...
-rwxr-xr-xrobotfmt.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/robotfmt.pl b/robotfmt.pl
index 0f8b621..9542bdf 100755
--- a/robotfmt.pl
+++ b/robotfmt.pl
@@ -126,7 +126,7 @@ while (defined($l = <LOG>)) {
if ($ref ne '' && $ref !~ /[^!#\$\%&'()*+,-.\/0-9:;=?\@A-Z\[\]_`a-z{|}~]/) {
$ref = '<'.$ref.'>';
$cclist{$lkml}++;
- if ($type eq 'n' && $ref =~ /^\<tip-[0-9a-z]{24}\@git\.kernel\.org\>$/) {
+ if ($type eq 'n' && $ref =~ /^\<tip-[0-9a-z]+\@git\.kernel\.org\>$/) {
# New submission magic
$message_id = $ref;
} elsif ($type eq 'r' && $ref ne $nullref) {