in migration/src/markup/lists.py [0:0]
def parseImpl(self, instring, loc, doActions=True):
exprs = []
for token in self.tokens:
for indent in range(self.indent_state.indent + 1, max(0, self.indent_state.indent - 2), -1):
# occasionally, the separator can be a tab (commitbot's comment)
# https://github.com/apache/lucene-jira-archive/issues/112
exprs.append(Literal(token * indent + " ") | Literal(token * indent + "\t"))
loc, result = MatchFirst(exprs).parseImpl(instring, loc, doActions)
self.indent_state.indent = len(result[0]) - 1
return loc, result