diff options
Diffstat (limited to 'regress/usr.sbin/httpd/patterns/patterns-tester.lua')
-rw-r--r-- | regress/usr.sbin/httpd/patterns/patterns-tester.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/regress/usr.sbin/httpd/patterns/patterns-tester.lua b/regress/usr.sbin/httpd/patterns/patterns-tester.lua new file mode 100644 index 00000000000..5bc476a1a4b --- /dev/null +++ b/regress/usr.sbin/httpd/patterns/patterns-tester.lua @@ -0,0 +1,3 @@ +-- $OpenBSD: patterns-tester.lua,v 1.1 2015/06/23 18:03:09 semarie Exp $ +print(string.format("string='%s'\npattern='%s'", arg[1], arg[2])); +print(string.match(arg[1], arg[2])); |