change the syntax to match multiple patterns on the same handler