MCPcopy Create free account
hub / github.com/ddnet/ddnet / generate_regex

Function generate_regex

scripts/check_config_variables.py:22–23  ·  view source on GitHub ↗
(variable_code)

Source from the content-addressed store, hash-verified

20
21
22def generate_regex(variable_code):
23 return rf"(g_Config\.m_{variable_code}\b|Config\(\)->m_{variable_code}\b|m_pConfig->m_{variable_code}\b)"
24
25
26def find_config_variables(config_variables):

Callers 1

find_config_variablesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected