couchbaselabs / couchbaselabs/gojsonsm
Matcher finds slot start/end via odd means
Open
enhancement
- Dominant language
- Go
- Stars
- 9
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
We currently back up the current position by the tokenData length:
```go
startPos -= len(tokenData)
```
This is probably not entirely safe, and may lead to odd bugs. We should probably update the tokenizer to support fetching the last position, or potentially pass the last position through to matchExec so it can use that.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.