5.2 compat patterns

Signed-off-by: katlogic <git@git.git>