From: Paul Eggert Date: Sun, 4 Jun 1995 01:34:39 +0000 (+0000) Subject: (output_authors): Allow ':' in time zone, as per ISO 8601 and RCS 5.6.8 beta. X-Git-Tag: emacs-19.34~3792 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a8a818c00e9cc73259aa3c519ba5fc34741c11ab;p=emacs.git (output_authors): Allow ':' in time zone, as per ISO 8601 and RCS 5.6.8 beta. --- diff --git a/lib-src/rcs2log b/lib-src/rcs2log index 63c4b71ca8c..3bcf5e9ace9 100755 --- a/lib-src/rcs2log +++ b/lib-src/rcs2log @@ -285,7 +285,7 @@ $logins EOF esac output_authors='/^date: / { - if ($2 ~ /^[0-9]*[-\/][0-9][0-9][-\/][0-9][0-9]$/ && $3 ~ /^[0-9][0-9]:[0-9][0-9]:[0-9][0-9][-+0-9]*;$/ && $4 == "author:" && $5 ~ /^[^;]*;$/) { + if ($2 ~ /^[0-9]*[-\/][0-9][0-9][-\/][0-9][0-9]$/ && $3 ~ /^[0-9][0-9]:[0-9][0-9]:[0-9][0-9][-+0-9:]*;$/ && $4 == "author:" && $5 ~ /^[^;]*;$/) { print substr($5, 1, length($5)-1) } }'