(index, pos)
| 1013 | literal = [] |
| 1014 | lappend = literal.append |
| 1015 | def addgroup(index, pos): |
| 1016 | if index > state.groups: |
| 1017 | raise s.error("invalid group reference %d" % index, pos) |
| 1018 | if literal: |
| 1019 | literals.append(''.join(literal)) |
| 1020 | del literal[:] |
| 1021 | groups.append((len(literals), index)) |
| 1022 | literals.append(None) |
| 1023 | groupindex = state.groupindex |
| 1024 | while True: |
| 1025 | this = sget() |
no test coverage detected