made simple strings be allowed to have periods and forward slashes

This commit is contained in:
Brian Picciano 2013-06-05 19:59:30 -04:00
parent 5edcb43355
commit a65de151db
2 changed files with 4 additions and 1 deletions

View File

@ -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: 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 neat
this_works this_works
so-does-this! so-does-this!
what-about-this?_YUP! what-about-this?_YUP!
/directory/with/a/file.ext
``` ```
## Integers ## Integers

View File

@ -54,6 +54,8 @@ var SimpleChars = CharSet{
Char('_'), Char('_'),
Char('!'), Char('!'),
Char('?'), Char('?'),
Char('.'),
Char('/'),
} }
//For translating the special characters //For translating the special characters