This commit is contained in:
Kovid Goyal 2014-04-30 21:02:08 +05:30
parent b484105480
commit 4f2cb6552d

View File

@ -859,8 +859,8 @@ def _tokenize(str):
tokens = []
#depth = 6
#nested_tags = "|".join(['(?:<(?:[^<>]',] * depth) + (')*>)' * depth)
# depth = 6
# nested_tags = "|".join(['(?:<(?:[^<>]',] * depth) + (')*>)' * depth)
# match = r"""(?: <! ( -- .*? -- \s* )+ > ) | # comments
# (?: <\? .*? \?> ) | # directives
# %s # nested tags """ % (nested_tags,)