RE2 regex is the software library used for Custom Regex In Google Search Console.
RE2 was implemented by Google and provides a C++ interface.
RE2 is a software library for regular expressions via a finite-state machine using automata theory, in contrast to almost all other regular expression libraries, which use backtracking implementations.