summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/usr.bin/mdoclint/mdoclint4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/mdoclint/mdoclint b/regress/usr.bin/mdoclint/mdoclint
index 5b05ce370bf..07bbe246a32 100644
--- a/regress/usr.bin/mdoclint/mdoclint
+++ b/regress/usr.bin/mdoclint/mdoclint
@@ -1,6 +1,6 @@
#!/usr/bin/perl
#
-# $OpenBSD: mdoclint,v 1.2 2008/10/31 14:26:56 jmc Exp $
+# $OpenBSD: mdoclint,v 1.3 2008/10/31 14:42:44 millert Exp $
# $NetBSD: mdoclint,v 1.18 2008/01/05 09:03:50 wiz Exp $
#
# Copyright (c) 2001-2008 Thomas Klausner
@@ -323,7 +323,7 @@ sub handle_file {
}
}
if ($opt_d) {
- if (/^.Dd/ and not /^.Dd\s*\$Mdocdate: October 31 2008 $$/) {
+ if (/^.Dd/ and not /^.Dd\s*.Mdocdate:\s*(January|February|March|April|May|June|July|August|September|October|November|December)\s*[1-9][0-9]*\s*(198[0-9]|199[0-9]|200[012345678])\s*\$$/) {
warning("Invalid date found: `$_'");
}
}