Enforced replacement patterns are processed in order for translateSql