Regular expressions matchers in host and route rules in URL maps
Share
Services
## Feature
Feature
**Regular expressions matchers in host and route rules in URL maps**
You can now use regular expressions to configure more flexible and precise traffic routing rules within URL maps for Application Load Balancer. This feature lets you leverage the power of RE2 syntax for matching on:
* **Route rules**: Within `pathMatchers`, the `matchRules` array now supports a`regexMatch` field to validate the URL path against a specified regex pattern.
* **Header matches**: Within `matchRules`, the `headerMatches` array now supports a `regexMatch` field for pattern matching against HTTP header values.
* **Query parameter matches**: Within `matchRules`, the `queryParameterMatches`array now supports a `regexMatch` field for pattern matching against HTTP query parameters values.
This feature is available for the following load balancers:
* Regional internal Application Load Balancer
* Cross-region internal Application Load Balancer
* Regional external Application Load Balancer
For more details on usage and syntax, see [URL map concepts: Regular expressions matchers in host and route rules](https://cloud.google.com/load-balancing/docs/url-map-concepts#regex-support).
This feature is in **Preview.**