Google RE2 (proto)

This extension has the qualified name envoy.regex_engines.google_re2


This extension is intended to be robust against both untrusted downstream and upstream traffic.


This extension extends and can be used with the following extension category:

This extension must be configured with one of the following type URLs:


[extensions.regex_engines.v3.GoogleRE2 proto]

Google’s RE2 regex engine. The regex string must adhere to the documented syntax. The engine is designed to complete execution in linear time as well as limit the amount of memory used.

Envoy emits two stats for tracking the program size of regexes: the histogram re2.program_size, which records the program size, and the counter re2.exceeded_warn_level, which is incremented each time the program size exceeds the warn level threshold.