From fcca01e501a1aa2ee6e0234099fead44ea27e651 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 10 Feb 2013 14:50:20 +0100 Subject: macro.py: recognize (C) symbol in the license section -- and normalize it to lower case --- macro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macro.py') diff --git a/macro.py b/macro.py index 0d7d158..f2f8533 100755 --- a/macro.py +++ b/macro.py @@ -82,7 +82,7 @@ class Macro: body = collapseText(body) elif key == "license": while True: - match = re.match(r"Copyright \(c\) ([0-9.,-]+) (.*)", body[0]) + match = re.match(r"Copyright \([cC]\) ([0-9.,-]+) (.*)", body[0]) if not match: break (year,name) = (match.group(1), match.group(2)) match = re.match(r"(.*) <(.*)>", name) -- cgit v1.2.1