Clean up debugging, a little more test

This commit is contained in:
Nathan Braswell
2015-06-15 21:32:09 -04:00
parent 7b6e47544a
commit 3ed6a15ab4
3 changed files with 16 additions and 11 deletions

View File

@@ -43,6 +43,12 @@ fun main():int {
println(reg.long_match("b"))
println(reg.long_match("ab"))
println("escape!")
reg = regex("a\\?+")
println(reg.long_match("a"))
println(reg.long_match("a?"))
println(reg.long_match("a??"))
println("Old Contributed")
var re = regex("a*");
println(re.long_match("a"));