[Python-ideas] Implicit string literal concatenation considered harmful?
Antoine Pitrou
solipsis at pitrou.net
Tue May 14 20:05:01 CEST 2013
On Sat, 11 May 2013 19:24:02 +0200
"M.-A. Lemburg" <mal at egenix.com> wrote:
>
> This is not a good solution for long lines where you don't want to
> have embedded line endings. Taken from existing code:
>
> _litmonth = ('(?P<litmonth>'
> 'jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec|'
> 'mär|mae|mrz|mai|okt|dez|'
> 'fev|avr|juin|juil|aou|aoû|déc|'
> 'ene|abr|ago|dic|'
> 'out'
> ')[a-z,\.;]*')
For the record, I know this isn't the point of your message, but you're
probably missing 'fév' (accented) above :-)
Regards
Antoine.
More information about the Python-ideas
mailing list