Match url paths against comma-separated patterns.