• Binbin's avatar
    Fix reply schemas validator build issue due to new regular expression (#13103) · df75153d
    Binbin authored
    The new regular expression break the validator:
    ```
    In file included from commands.c:10:
    commands_with_reply_schema.def:14528:72: error: stray ‘\’ in program
    14528 | struct jsonObjectElement MEMORY_STATS_ReplySchema_patternProperties__db\_\d+__properties_overhead_hashtable_main_elements[] = {
    ```
    
    The reason is that special characters are not added to to_c_name,
    causes special characters to appear in the structure name, causing
    c file compilation to fail.
    
    Broken by #12913
    df75153d
generate-command-code.py 21.6 KB