diff options
author | Peter Simons <simons@cryp.to> | 2013-02-10 14:50:20 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2013-02-10 14:50:20 +0100 |
commit | fcca01e501a1aa2ee6e0234099fead44ea27e651 (patch) | |
tree | a623c371a23003c0411e4819212564dad3cc92e2 /macro.py | |
parent | 935dea6b9b47a15405b4c921a8288f60288a7860 (diff) | |
download | autoconf-archive-fcca01e501a1aa2ee6e0234099fead44ea27e651.tar.gz |
macro.py: recognize (C) symbol in the license section -- and normalize it to lower case
Diffstat (limited to 'macro.py')
-rwxr-xr-x | macro.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |