support $match->{handler} to overwrite handler for certain matches