Corrected a bug in the regex that matches single stash variables