(lines, pos, regex)
| 259 | |
| 260 | |
| 261 | def Skip(lines, pos, regex): |
| 262 | line = lines[pos.line][pos.column:] |
| 263 | m = re.search(regex, line) |
| 264 | if m and not m.start(): |
| 265 | return pos + m.end() |
| 266 | else: |
| 267 | return pos |
| 268 | |
| 269 | |
| 270 | def SkipUntil(lines, pos, regex, token_type): |
no test coverage detected