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