From 2219315e5a34ceb9d35add2905f43dff75280d5c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 26 Jun 2010 18:12:23 -0400 Subject: [PATCH] Don't require either . or , to separate year from degree institution --- sitecore/prof/export_mysql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sitecore/prof/export_mysql.py b/sitecore/prof/export_mysql.py index 906e6cd..1d1b7b0 100644 --- a/sitecore/prof/export_mysql.py +++ b/sitecore/prof/export_mysql.py @@ -33,7 +33,7 @@ from .. import get_logger from . import Name, Graduation, Contact, Bio, Professor -GRADUATION_REGEXP = re.compile('^(\S*) +(\S*), (\D*)([,.] *(\d*))?$') +GRADUATION_REGEXP = re.compile('^(\S*) +(\S*), (\D*)([,.]? *(\d*))?$') """Examples: M.S. Physics, University of Calcutta, Calcutta, India -- 2.26.2