Commit graph

2 commits

Author SHA1 Message Date
lnu 890d0ad0e1 feat: cache compiled regex
use mustcompile for regex.
Always use mustcompile which throws a panic
if the regex cannot be compiled.
We call recover to detect the panic and
display an error message to the user.
2021-01-20 13:11:05 +01:00
Jan De Dobbeleer ed2eac8e12 feat: adjust source code layout 2020-12-25 20:11:24 +01:00
Renamed from segment_test.go (Browse further)