Lines Matching refs:this
142 # determine the width (min, max) for this subpattern
203 this = self.next
205 return this
286 # got three octal digits; this is an octal escape
289 # not an octal escape, so this is a group reference
349 # we can store this as a character set instead of a
350 # branch (the compiler may optimize this even more)
398 this = sourceget()
399 if this is None:
404 if this in WHITESPACE:
406 if this == "#":
408 this = sourceget()
409 if this in (None, "\n"):
413 if this and this[0] not in SPECIAL_CHARS:
414 subpatternappend((LITERAL, ord(this)))
416 elif this == "[":
427 this = sourceget()
428 if this == "]" and set != start:
430 elif this and this[0] == "\\":
431 code1 = _class_escape(source, this)
432 elif this:
433 code1 = LITERAL, ord(this)
438 this = sourceget()
439 if this == "]":
445 elif this:
446 if this[0] == "\\":
447 code2 = _class_escape(source, this)
449 code2 = LITERAL, ord(this)
473 elif this and this[0] in REPEAT_CHARS:
475 if this == "?":
477 elif this == "*":
480 elif this == "+":
482 elif this == "{":
484 subpatternappend((LITERAL, ord(this)))
497 subpatternappend((LITERAL, ord(this)))
526 elif this == ".":
529 elif this == "(":
661 elif this == "^":
664 elif this == "$":
667 elif this and this[0] == "\\":
668 code = _escape(source, this, state)
722 this = sget()
723 if this is None:
725 if this and this[0] == "\\":
727 c = this[1:2]
754 this = this + sget()
756 this = this + sget()
757 literal(makechar(int(this[1:], 8) & 0xff))
761 this = this + sget()
762 if (c in OCTDIGITS and this[2] in OCTDIGITS and
764 this = this + sget()
766 literal(makechar(int(this[1:], 8) & 0xff))
768 a((MARK, int(this[1:])))
771 this = makechar(ESCAPES[this][1])
774 literal(this)
776 literal(this)