RT #116979 check for variable in regex assertions