Highlight regex in location definitions