def __init__(self, sitecore_connection):
self.s = sitecore_connection
self.regexps = {
- 'Degrees':re.compile('Degrees:.*'),
- 'College':re.compile('College:.*'),
- 'Program':re.compile('Program:.*'),
- 'Office':re.compile('Office:.*'),
- 'Specialization':re.compile('.*Specialization:.*'),
- 'Research Interests':re.compile('.*Research Interests:.*'),
- 'Personal Site':re.compile('.*Personal Site:.*'),
- 'Title':re.compile('.*Title:.*'),
- 'First Name':re.compile('.*First Name:.*'),
- 'Last Name':re.compile('.*Last Name:.*'),
- 'Bio':re.compile('.*Bio:.*'),
- 'Headshot':re.compile('.*Headshot:.*'),
- 'Email':re.compile('.*Email:.*'),
- 'Phone':re.compile('.*Phone:.*'),
- 'Fax':re.compile('.*Fax:.*'),
- 'Page Title':re.compile('.*Page Title -.*'),
- 'Menu Title':re.compile('.*Menu Title -.*'),
- 'Breadcrumb Title':re.compile('.*Breadcrumb Title -.*'),
- 'See Also Title':re.compile('.*See Also title -.*'),
+ 'Degrees':re.compile('Degrees:.*', re.DOTALL),
+ 'College':re.compile('College:.*', re.DOTALL),
+ 'Program':re.compile('Program:.*', re.DOTALL),
+ 'Office':re.compile('Office:.*', re.DOTALL),
+ 'Specialization':re.compile('.*Specialization:.*', re.DOTALL),
+ 'Research Interests':re.compile('.*Research Interests:.*',
+ re.DOTALL),
+ 'Personal Site':re.compile('.*Personal Site:.*', re.DOTALL),
+ 'Title':re.compile('.*Title:.*', re.DOTALL),
+ 'First Name':re.compile('.*First Name:.*', re.DOTALL),
+ 'Last Name':re.compile('.*Last Name:.*', re.DOTALL),
+ 'Bio':re.compile('.*Bio:.*', re.DOTALL),
+ 'Headshot':re.compile('.*Headshot:.*', re.DOTALL),
+ 'Email':re.compile('.*Email:.*', re.DOTALL),
+ 'Phone':re.compile('.*Phone:.*', re.DOTALL),
+ 'Fax':re.compile('.*Fax:.*', re.DOTALL),
+ 'Page Title':re.compile('.*Page Title -.*', re.DOTALL),
+ 'Menu Title':re.compile('.*Menu Title -.*', re.DOTALL),
+ 'Breadcrumb Title':re.compile('.*Breadcrumb Title -.*', re.DOTALL),
+ 'See Also Title':re.compile('.*See Also title -.*', re.DOTALL),
}
def setup(self):