(char, start, include=1)
| 107 | i = 0 |
| 108 | |
| 109 | def readuntil(char, start, include=1): |
| 110 | nonlocal i |
| 111 | end = data.find(char, start) |
| 112 | if end == -1: |
| 113 | end = len(data) |
| 114 | ret = data[i : end + include] |
| 115 | i = end + include |
| 116 | return ret |
| 117 | |
| 118 | while i < len(data): |
| 119 | if isinstance(token, Text): |