summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcopyright-statement-lint4
1 files changed, 2 insertions, 2 deletions
diff --git a/copyright-statement-lint b/copyright-statement-lint
index f775ead..db61ded 100755
--- a/copyright-statement-lint
+++ b/copyright-statement-lint
@@ -1,5 +1,5 @@
#!/usr/bin/python
-# Copyright 2013 Lars Wirzenius
+# Copyright 2013-2014 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -27,7 +27,7 @@ import sys
copyright_pattern = re.compile(
- r'Copyright\s+(?P<years>\d+((,|\s)|\d+)*)\s(?P<names>.*)')
+ r'Copyright\s+(\([cC]\)\s+)?(?P<years>\d+((,|-|\s)|\d+)*)\s(?P<names>.*)')
class CopyrightStatementLint(cliapp.Application):