diff options
author | Jonathan Corbet <corbet@lwn.net> | 2013-08-14 14:53:34 -0600 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2013-08-14 14:53:34 -0600 |
commit | 912a4c12eaac0d789810550152c96ccb6f6cd2e5 (patch) | |
tree | ed00344758ffe567c47d101f13ab659856abb847 | |
parent | ab4a298bdb935f6a81f862bccf0cfb4665fec800 (diff) |
Accept quotes within email names
Some people actually do it...
-rw-r--r-- | patterns.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patterns.py b/patterns.py index 4902e63..175ac3e 100644 --- a/patterns.py +++ b/patterns.py @@ -18,7 +18,7 @@ import re # expressions." Now they have two problems. # -- Jamie Zawinski # -_pemail = r'\s+"?([^<"]+)"?\s<([^>]+)>' # just email addr + name +_pemail = r'\s+"?([^<]+)"?\s<([^>]+)>' # just email addr + name patterns = { 'tagcommit': re.compile (r'^commit ([\da-f]+) .*tag: (v[23]\.\d(\.\d\d?)?)'), |