ref: 5d6dda0307498ac0371f9f8275e584c9718cbfdf
dir: /main.myr/
use regex use std const main = { var found match regex.compile("(a|b)*s*") `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 ;; ;; }