commit 551d3a0f1040ee9eed1039302dfd29c806f10db3 parent 48938555677bc0dac741493a032eba316f99e115 Author: Nikola <nikola@radojevic.rs> Date: Wed, 4 May 2022 18:16:45 +0200 Added regex::strerror Diffstat:
M | regex/regex.ha | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/regex/regex.ha b/regex/regex.ha @@ -812,3 +812,6 @@ export fn freeall(s: [][]matchgroup) void = { }; free(s); }; + +// Converts regex [[error]] into a user-friendly string. +export fn strerror(err: error) str = err;