[Baypiggies] More dramatic material?

Aahz aahz at pythoncraft.com
Wed Feb 24 22:53:51 CET 2010


On Wed, Feb 24, 2010, Mark Voorhies wrote:
>
> locus_re = re.compile(
>   "(^(?P<ref>[^:]+)\:(?P<start>[\d]+)\.\.(?P<stop>[\d]+)$)", re.M)

Reminder: always use raw strings with regexes  ;-)
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Many customs in this life persist because they ease friction and promote
productivity as a result of universal agreement, and whether they are
precisely the optimal choices is much less important." --Henry Spencer


More information about the Baypiggies mailing list