You got a spelling mistake redirectregexy
and not sure where you got headersregexp
from, that does not seem to exist (docs, reference).
You could create an additional router with a header match as explained here in the community. The header match rule would be longer, therefore get higher priority and would be checked first.