ref: 921fafdfaf1319d022fac101dd021fdd2eaea8cd
dir: /main.myr/
use regex
use std
const main = {
var found
match regex.compile("[a-z0-9]*bc")
`std.Success re:
found = regex.exec(re, "a123bc")
std.put("Found = %t: len = %z\n", found, re.strp)
-> 0
;;
`std.Failure err:
std.put("failed to compile regex")
-> 1
;;
;;
}