This should improve slow path speed for regexps without literal prefixes
action: replace
action: labelmap
labeldrop
labelkeep
drop
keep