%PDF- %PDF-
| Direktori : /lib/python3/dist-packages/mako/ext/__pycache__/ |
| Current File : //lib/python3/dist-packages/mako/ext/__pycache__/preprocessors.cpython-312.pyc |
�
���e@ � � � d Z ddlZd� Zy)zZpreprocessing functions, used with the 'preprocessor'
argument on Template, TemplateLookup� Nc �0 � t j dd| � 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)�texts �8/usr/lib/python3/dist-packages/mako/ext/preprocessors.py�convert_commentsr
s � � �6�6�$�d�D�1�1� )�__doc__r r � r r �<module>r s ��(�
�2r