Searched refs:charref (Results 1 - 2 of 2) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_htmlparser.py | 47 self.append(("charref", data)) 133 ("charref", "32"), 139 ("charref", "x201C"), 352 for charref in charrefs: 353 self._run_check('<a href="foo{0}zar">a{0}z</a>'.format(charref), 359 for charref in charrefs: 361 '{0}</a>{0}'.format(charref), 364 for charref in charrefs: 365 text = 'X'.join([charref]*3) 372 '<style>{0}</style>{1}'.format(text, charref), [all...] |
/third_party/python/Lib/html/ |
H A D | parser.py | 25 charref = re.compile('&#(?:[0-9]+|[xX][0-9a-fA-F]+)[^0-9a-fA-F]') variable 144 # a charref cut in half at end. Try to determine if 200 match = charref.match(rawdata, i)
|
Completed in 2 milliseconds