-!Lc@s(dZddkZdZdZdS(sZpreprocessing functions, used with the 'preprocessor' argument on Template, TemplateLookupiNcCstidd|S(spreprocess old style comments. example: from mako.ext.preprocessors import convert_comments t = Template(..., preprocessor=preprocess_comments)s(?<=\n)\s*#[^#]s##(tretsub(ttext((s:/usr/lib/python2.6/site-packages/mako/ext/preprocessors.pytconvert_commentsscCstddS(sgiven a callable, extract the *args and **kwargs, and produce a preprocessor that will parse for <% > and convert to an appropriate <%call> statement. this allows any custom tag to be created which looks like a pure Mako-style tag.sFuture functionality....N(tNotImplementedError(tcallable((s:/usr/lib/python2.6/site-packages/mako/ext/preprocessors.pyt create_tags(t__doc__RRR(((s:/usr/lib/python2.6/site-packages/mako/ext/preprocessors.pyts