Process overrides before processing all regular expressions

This way we don't parse/execute any regular expressions if override is
set.