Refactor config class 825

Fixes #825 
The method name is not quite accurate; it's not doing full validation, just seeing if it (approximately) matches the format.