Permalink
Browse files

fix pattern escapes to allow use of LuaJIT2

  • Loading branch information...
1 parent 6a0f377 commit fc2212ee740204cdfcb8398fedcaf54e17771fc4 Richard Hundt committed Jan 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/tir
View
@@ -20,7 +20,7 @@ function parse_args(arg)
local last_opt = nil
for i, opt in ipairs(arg) do
- local token = opt:match("\-+([a-z\-]+)")
+ local token = opt:match("%-+([a-z%-]+)")
if token then
last_opt = token

0 comments on commit fc2212e

Please sign in to comment.