shithub: mc

Download patch

ref: a2da7312d03152baea7311d4e0263f42fbc9a2e6
parent: 8c0eb9f56edefcc15a206f8e165056803f9f5b99
author: Ori Bernstein <[email protected]>
date: Mon Oct 21 21:12:29 EDT 2013

A test program.

--- /dev/null
+++ b/main.myr
@@ -1,0 +1,13 @@
+use std
+
+use regex
+
+const main = {
+	var re
+	var found
+
+	re = regex.compile("a+")
+	found = regex.exec(re, "aaa")
+	std.put("Found: len = %z\n", re.strp, found)
+}
+