aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testfarthest.lua13
1 files changed, 0 insertions, 13 deletions
diff --git a/testfarthest.lua b/testfarthest.lua
deleted file mode 100644
index e862d87..0000000
--- a/testfarthest.lua
+++ /dev/null
@@ -1,13 +0,0 @@
1local m = require 'lpeglabel'
2
3function matchPrint(p, s)
4 local r, l, sfail = p:match(s)
5 print("Input:", s)
6 print("Result:", r, l, sfail)
7end
8
9
10local p = (m.P"c" + m.P"a") * m.P("b" + m.P"d") + m.P"xxx"
11p:pcode()
12matchPrint(p, "ba")
13