ref: da4fbb8f487fc53d091161c41c0080e49e5b0cce
dir: /main.myr/
use regex use std const main = { var found match regex.compile("(a|b)*") `std.Success re: found = regex.exec(re, "babaas") std.put("Found = %t: len = %z\n", found, re.strp) -> 0 ;; `std.Failure err: std.put("failed to compile regex") -> 1 ;; ;; }