Remove global variable from regex interpolation

Found a global variable in the regex filter, while realized that using special matchers was not longer working.