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