1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-12-19 23:52:23 +02:00
Files
chroma/regexp_test.go
Alec Thomas ea14dd8660 Fixed a fundamental bug where ^ would always match.
The engine was always passing a string sliced to the current position,
resulting in ^ always matching. Switched to use
FindRunesMatchStartingAt.

Fixes #242.
2019-06-12 12:32:20 +10:00

1.1 KiB