
The regex strings are compiled automatically. During file parsing, the string is compiled once using default settings to check that the pattern is valid. Once a module asks for the compiled pcre2_code, the pattern is compiled again with module given settings. The regex string in the config file should be enclosed within '/ ... /'