Add custom pattern matching for URI components.