diff options
author | Richard Ipsum <richardipsum@fastmail.co.uk> | 2018-10-12 22:11:57 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2018-10-21 13:36:57 +0100 |
commit | 64dcca437867ece711b215f3d5a609d04134a93d (patch) | |
tree | 63dfcdbd84c9e2c849e10ca971937961c1f7572b | |
parent | 6b1d582a83c0a51d74266e635348eb64c03e6969 (diff) | |
download | luxio-64dcca437867ece711b215f3d5a609d04134a93d.tar.gz |
Fix regex in sio.tomode
-rw-r--r-- | luxio/simple.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/luxio/simple.lua b/luxio/simple.lua index f2ef5ba..2d117ad 100644 --- a/luxio/simple.lua +++ b/luxio/simple.lua @@ -717,7 +717,7 @@ local function sio_mode_flags(f) error("string describing access mode expected") end - if f:match "0?[0-7][0-7][0-7][0-7]" then + if f:match "0?[0-7][0-7][0-7]" then -- octal number as a string return tonumber(f, 8) end |