def METHOD_NAME():
    line = r"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))("
    lineend = r")(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
    with open("newgrfml.tmLanguage.json", "w") as file:
        file.write(text1)
        file.write(text2.replace("blocks", line + "|".join(extract_tables.block_names_table) + lineend))
        file.write(text3.replace("variables", line + "|".join(extract_tables.variables_names_table) + lineend))
        file.write(text4.replace("features", line + "|".join(extract_tables.feature_names_table) + lineend))
        file.write(text5.replace("callbacks", line + "|".join(extract_tables.callback_names_table) + lineend))
        file.write(text6)
    # Simple JSON that contains all keywords for suggestion purposes.
    with open("providers.json", "w") as file:
        output = {}
        output["block"] = extract_tables.block_names_table
        output["variables"] = extract_tables.variables_names_table
        output["features"] = extract_tables.feature_names_table
        output["callbacks"] = extract_tables.callback_names_table
        file.write(json.dumps(output, separators=(",", ":")))