B
    è¹`@  ã               @   s   d Z ddlZdd„ ZdS )zZpreprocessing functions, used with the 'preprocessor'
argument on Template, TemplateLookupé    Nc             C   s   t  dd| ¡S )zšpreprocess old style comments.

    example:

    from mako.ext.preprocessors import convert_comments
    t = Template(..., preprocessor=convert_comments)z(?<=\n)\s*#[^#]z##)ÚreÚsub)Útext© r   ú^/home/kop/projects/devel/pgwui/test_venv/lib/python3.7/site-packages/mako/ext/preprocessors.pyÚconvert_comments   s    r   )Ú__doc__r   r   r   r   r   r   Ú<module>   s   