(match: re.Match[str])
| 4508 | strings: List[str] = [] |
| 4509 | |
| 4510 | def capture(match: re.Match[str]) -> str: |
| 4511 | strings.append(match.group(1)) |
| 4512 | return f"\x00{len(strings) - 1}\x00" |
| 4513 | |
| 4514 | stripped = text.strip() |
| 4515 | if stripped.startswith("[") and stripped.endswith("]"): |