Use ngx dict for storing content of regexes.yaml

Use ngx dict for storing content of regexes.yaml