ó
ži‚Nc           @   s   d  Z  d d l Z d „  Z d S(   s[   preprocessing functions, used with the 'preprocessor' 
argument on Template, TemplateLookupiÿÿÿÿNc         C   s   t  j d d |  ƒ S(   sŸ   preprocess old style comments.
 
    example:
 
    from mako.ext.preprocessors import convert_comments
    t = Template(..., preprocessor=preprocess_comments)s   (?<=\n)\s*#[^#]s   ##(   t   ret   sub(   t   text(    (    s:   /usr/lib/python2.7/dist-packages/mako/ext/preprocessors.pyt   convert_comments   s    (   t   __doc__R    R   (    (    (    s:   /usr/lib/python2.7/dist-packages/mako/ext/preprocessors.pyt   <module>   s   