From: W. Trevor King Date: Sat, 26 Jun 2010 22:11:25 +0000 (-0400) Subject: Allow . as well as , to separate year from degree institution X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aec4e1498f11d602708fb0543d913148a646d8d5;p=sitecorepy.git Allow . as well as , to separate year from degree institution --- diff --git a/sitecore/prof/export_mysql.py b/sitecore/prof/export_mysql.py index 59ee6a4..906e6cd 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