summaryrefslogtreecommitdiff
path: root/lib/regex
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-12-29 01:31:31 -0800
committerOri Bernstein <ori@eigenstate.org>2017-12-29 01:31:31 -0800
commit097c5188b37949e352cb8c92b38c49b4027314e0 (patch)
tree5a3c25ccfd2e5f7d9460d0291091b0da1cd52108 /lib/regex
parent358de40c2f56409ced4d76cd2c4201c609457dac (diff)
downloadmc-097c5188b37949e352cb8c92b38c49b4027314e0.tar.gz
Benchmark matching at end of string.
Diffstat (limited to 'lib/regex')
-rw-r--r--lib/regex/interp.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/regex/interp.myr b/lib/regex/interp.myr
index 4e2c0de..7ca1be5 100644
--- a/lib/regex/interp.myr
+++ b/lib/regex/interp.myr
@@ -364,7 +364,7 @@ const step = {re, thr, curip
die(re, thr)
;;
| _:
- std.die("bad match")
+ std.die("corrupt regex bytecode")
;;
-> true
}