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