Esempio n. 1
0
 def __init__(self, match):
     self.label = helpers.normalize_label(match.group(1))
Esempio n. 2
0
 def find(cls, text):
     for match in super(FootnoteRef, cls).find(text):
         label = helpers.normalize_label(match.group(1))
         if label in inline._root_node.footnotes:
             yield match
Esempio n. 3
0
 def __init__(self, match):
     self.label = helpers.normalize_label(match.group(1))
     self._prefix = re.escape(match.group())
     self._second_prefix = r' {1,4}'