diff --git a/doc/syntax.md b/doc/syntax.md index 4b3d4e1..9fc355e 100644 --- a/doc/syntax.md +++ b/doc/syntax.md @@ -12,12 +12,13 @@ literal whitespace characters are properly parsed as well ``` The second way only works if your string contains exclusively the following characters: -`a-z A-Z 0-9 _ - ! ?` (spaces added for readability) +`a-z A-Z 0-9 _ - ! ? . /` (spaces added for readability) ``` neat this_works so-does-this! what-about-this?_YUP! +/directory/with/a/file.ext ``` ## Integers diff --git a/parse.go b/parse.go index 3f68b3c..522c988 100644 --- a/parse.go +++ b/parse.go @@ -54,6 +54,8 @@ var SimpleChars = CharSet{ Char('_'), Char('!'), Char('?'), + Char('.'), + Char('/'), } //For translating the special characters