Remove global variable and fix regex support
Merge pull request #145 from prometheus/interpolation-fix

Remove global variable from regex interpolation