Update on the regex for variable validator
and update on Global