From: W. Trevor King Date: Sat, 26 Jun 2010 22:13:14 +0000 (-0400) Subject: Allow multi-word graduation fields X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ae28e383b40659509793ebc6be7f2d59f498c53b;p=sitecorepy.git Allow multi-word graduation fields --- diff --git a/sitecore/prof/export_mysql.py b/sitecore/prof/export_mysql.py index 1d1b7b0..973025a 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*) +([^,]*), (\D*)([,.]? *(\d*))?$') """Examples: M.S. Physics, University of Calcutta, Calcutta, India