Restore parsing envvar names with digits
Limit valid characters in envvar names
Add more unit-tests for parsing envvar names
Merge branch 'fix-parsing-envvars-with-digits'

Fix accidentally broken parsing of environment variables containing
digits in their names.  Also limit valid characters and add related
unit tests.