Updated code, allows the characters: - . any english letter and numbers

Updated the code to allow for more variable names as the current version is to restrictive.
Allowed characters in this update is:
a-z upper and lower case
0-9
.
-

~ Tom Espen