Skip to content

Commit

Permalink
sometimes comments in braces contain new line
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayane committed Apr 16, 2014
1 parent 46eea45 commit e1865e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycon_speakers/loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def _cleanup_name(name):
name = _STRIPRE1.sub(u'', name, re.I)
return _STRIPRE2.sub(u'', name, re.I)

_STRIPRE1 = re.compile(ur'\s*(\(.*\))?( bio)?( -)?( \.)?$')
_STRIPRE2 = re.compile(ur'\s*(/.+)$')
_STRIPRE1 = re.compile(ur'\s*(\(.*\))?( bio)?( -)?( \.)?$', re.DOTALL)
_STRIPRE2 = re.compile(ur'\s*(/.+)$', re.DOTALL)


class SpeakerLoader(ItemLoader):
Expand Down

0 comments on commit e1865e9

Please sign in to comment.