fix typo in VARIABLE_REGEX

this fixes matching quantifiers like {n,m}