KB Article #176339

What type of regex does the API Gateway use?

Problem

-- Several parts of the API Gateway accept regexes and it's not clear which features they support.

Resolution


* Regexes within scripting language filters use the filter language's regex engine, so JavaScript scripting filters use JavaScript regexes.  This includes regexes inside XSDs, which have their own flavor of regex defined in the W3C XML Schema standard.  Other parts of the API Gateway that use regexes are based on java.util.regex.Pattern, unless otherwise specified.