summaryrefslogtreecommitdiff
path: root/script/glob
diff options
context:
space:
mode:
Diffstat (limited to 'script/glob')
-rw-r--r--script/glob/matcher.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/glob/matcher.lua b/script/glob/matcher.lua
index fceb32e2..af43e087 100644
--- a/script/glob/matcher.lua
+++ b/script/glob/matcher.lua
@@ -3,7 +3,7 @@ local m = require 'lpeglabel'
local Slash = m.S('/\\')^1
local Symbol = m.S',{}[]*?/\\'
local Char = 1 - Symbol
-local Path = (1 - m.S[[\/:*?"<>|]])^1 * Slash
+local Path = (1 - m.S[[\/*?"<>|]])^1 * Slash
local NoWord = #(m.P(-1) + Symbol)
local function whatHappened()
return m.Cmt(m.P(1)^1, function (...)