From bbd73385a0db271b457c63e4d6bab54f581410f9 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Wed, 21 Aug 2019 18:03:36 +0100 Subject: Should support all filename names --- libcmd/cmd_parse.ragel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcmd/cmd_parse.ragel') diff --git a/libcmd/cmd_parse.ragel b/libcmd/cmd_parse.ragel index 02b92ce..8cd8717 100644 --- a/libcmd/cmd_parse.ragel +++ b/libcmd/cmd_parse.ragel @@ -45,7 +45,7 @@ int print_token( char *s, char *e, int tok) '"'; quote = '"' (any-'"')* '"'; #seperate = ';'; - word = [a-zA-Z] ([a-zA-Z0-9'._'])*; + word = ([a-zA-Z0-9!#$%&'()*+`./:;<=>?@{}|~_])*; sp = ([' ','\t','\n']); main := |* -- cgit v1.2.3