fixed match with empty pattern #90