private fun get_error(errcode: Int): String
do
+ var native = native
+ assert native != null
+
# Error, should be out of memory but we cover any possible error anyway
var error_cstr = native.regerror(errcode)
var comp_res = compile
assert comp_res == null else "Regex compilation failed with: {comp_res.message}\n".output
+ var native = native
+ assert native != null
+
# Actually execute
var eflags = gather_eflags
var res = native.regexec_match_only(text.to_cstring, eflags)
var comp_res = compile
assert comp_res == null else "Regex compilation failed with: {comp_res.message}\n".output
+ var native = native
+ assert native != null
+
# Actually execute
text = text.to_s
var cstr = text.substring_from(from).to_cstring
var comp_res = compile
assert comp_res == null else "Regex compilation failed with: {comp_res.message}\n".output
+ var native = native
+ assert native != null
+
# Actually execute
text = text.to_s
var sub = text.substring_from(from)
var comp_res = compile
assert comp_res == null else "Regex compilation failed with: {comp_res.message}\n".output
+ var native = native
+ assert native != null
+
# Actually execute
text = text.to_s
var cstr = text.to_cstring