summary refs log tree commit diff
path: root/src/path/parser.lalrpop
diff options
context:
space:
mode:
Diffstat (limited to 'src/path/parser.lalrpop')
-rw-r--r--src/path/parser.lalrpop2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path/parser.lalrpop b/src/path/parser.lalrpop
index 3547444..9705fc3 100644
--- a/src/path/parser.lalrpop
+++ b/src/path/parser.lalrpop
@@ -79,7 +79,7 @@ PathComponent: GenericPathComponent = {
 
 // Whitespace is not allowed.
 match {
-  r"[^z:/]+" => PATH_COMPONENT_NO_COLONS,
+  r"[^:/]+" => PATH_COMPONENT_NO_COLONS,
 
   r"/" => SLASH,