All Products
Search
Document Center

Function Compute:RegexRule

Last Updated:Aug 02, 2024
ParameterTypeDescriptionExample
object

The regex rewrite configurations for custom domain names.

matchstring

The matching rule.

^/api/.+?/(.*)
replacementstring

The replacement rule.

/api/v2/$1