about summary refs log tree commit homepage
path: root/path_parser.rl
diff options
context:
space:
mode:
Diffstat (limited to 'path_parser.rl')
-rw-r--r--path_parser.rl3
1 files changed, 2 insertions, 1 deletions
diff --git a/path_parser.rl b/path_parser.rl
index 4f0b3ec..974b6c6 100644
--- a/path_parser.rl
+++ b/path_parser.rl
@@ -17,5 +17,6 @@
                 }
                 '/';
         # only stuff MogileFS will use
-        mog_path = '/' (devid)? [a-zA-Z0-9/\.\-]{0,36};
+        mog_path_rest = [a-zA-Z0-9/\.\-]{0,36};
+        mog_path = '/' (devid)? mog_path_rest;
 }%%