The regex string that follows needs to be changed to "[^ ]*pep_[^ ]*_(pre|post|except|finally)".
|
const std::string DYNAMIC_PEP_RULE_REGEX = "[^ ]*pep_[^ ]*_(pre|post)"; |
DYNAMIC_PEP_RULE_REGEX is used when the plugin_specific_configuration stanza in server_config.json does not explicitly define regexes_for_supported_peps. The code block below highlights where this occurs.
|
RuleExistsHelper::Instance()->registerRuleRegex(DYNAMIC_PEP_RULE_REGEX); |
|
|
|
// clang-format off |
|
log_re::debug({ |
|
{"rule_engine_plugin", rule_engine_name}, |
|
{"instance_name", _instance_name}, |
|
{"log_message", "No regexes found in server_config for Python RE - using default regexes"}, |
|
{"static_pep_rule_regex", STATIC_PEP_RULE_REGEX}, |
|
{"dynamic_pep_rule_regex", DYNAMIC_PEP_RULE_REGEX}, |
|
}); |
The regex string that follows needs to be changed to
"[^ ]*pep_[^ ]*_(pre|post|except|finally)".irods_rule_engine_plugin_python/src/main.cpp
Line 97 in 6a0af30
DYNAMIC_PEP_RULE_REGEXis used when theplugin_specific_configurationstanza in server_config.json does not explicitly defineregexes_for_supported_peps. The code block below highlights where this occurs.irods_rule_engine_plugin_python/src/main.cpp
Lines 466 to 475 in 6a0af30