<commit_before>{
    "commands": [
        {"match": "^(?:\\\\?[iI])$", "command": "text_pastry_step", "args": {"text": "1"}},
        {"match": "^(?:\\\\?[iI])?[\\s(]*(-?\\d+)(?:[\\s,]*(-?\\d+))?(?:[\\s,]*(-?\\d+))?[\\s)]*(.*)", "command": "text_pastry_step", "args": {"text": "$0"}},

        // use regex to split the clipboard data
        {"match": "^\\\\r\\((.*?)\\)$", "command": "text_pastry_insert_text", "args": {"separator": "$1", "clipboard": true, "regex": true}},
        {"match": "^r\\((.*?)\\)$", "command": "text_pastry_insert_text", "args": {"separator": "$1", "clipboard": true, "regex": true}},
        {"match": "^\\\\r (.*)", "command": "text_pastry_insert_text", "args": {"separator": "$1", "clipboard": true, "regex": true}},
        {"match": "^r (.*)", "command": "text_pastry_insert_text", "args": {"separator": "$1", "clipboard": true, "regex": true}},
        {"match": "^regex (.*)", "command": "text_pastry_insert_text", "args": {"separator": "$1", "clipboard": true, "regex": true}},

        // generate UUID
        {"match": "^\\\\UUID$", "command": "text_pastry_uuid", "args": {"uppercase": true} },
        {"match": "^\\\\UUID (x|X)(\\d+)$", "command": "text_pastry_uuid", "args": {"uppercase": true, "repeat": "$2"} },

        {"match": "^UUID$", "command": "text_pastry_uuid", "args": {"uppercase": true} },
        {"match": "^UUID (x|X)(\\d+)$", "command": "text_pastry_uuid", "args": {"uppercase": true, "repeat": "$2"} },

        {"match": "^\\\\uuid$", "command": "text_pastry_uuid" },
        {"match": "^\\\\uuid (x|X)(\\d+)$", "command": "text_pastry_uuid", "args": {"repeat": "$2"} },

        {"match": "^uuid$", "command": "text_pastry_uuid" },
        {"match": "^uuid (x|X)(\\d+)$", "command": "text_pastry_uuid", "args": {"repeat": "$2"} },

        // paste clipboard with custom separator
        {"match": "^\\\\p\\((.*?)\\)?$", "command": "text_pastry_insert_text", "args": {"separator": "$1", "clipboard": true} },
        {"match": "^p\\((.*?)\\)?$", "command": "text_pastry_insert_text", "args": {"separator": "$1", "clipboard": true} },
        {"match": "^\\\\p (.*)", "command": "text_pastry_insert_text", "args": {"separator": "$1", "clipboard": true} },
        {"match": "^p (.*)", "command": "text_pastry_insert_text", "args": {"separator": "$1", "clipboard": true} },

        // paste clipboard with newline separator
        {"match": "^\\\\p\\\\n", "command": "text_pastry_insert_text", "args": {"separator": "\\n", "clipboard": true} },
        {"match": "^pn$", "command": "text_pastry_insert_text", "args": {"separator": "\\n", "clipboard": true} },

        // paste clipboard with whitespace separator
        {"match": "^\\\\p$", "command": "text_pastry_insert_text", "args": {"clipboard": true} },
        {"match": "^p$", "command": "text_pastry_insert_text", "args": {"clipboard": true} },

        // paste by row
        {"match": "^pr$", "command": "text_pastry_insert_text", "args": {"clipboard": true, "by_rows": true} },
        {"match": "^pbr$", "command": "text_pastry_insert_text", "args": {"clipboard": true, "by_rows": true} },

        // regular text, using whitespace separator
        {"match": "^words no-repeat (.*)", "command": "text_pastry_words", "args": {"text": "$1", "repeat": false} },
        {"match": "^words (.*)", "command": "text_pastry_words", "args": {"text": "$1"} },

        // build-in commands
        {"match": "^uc$", "command": "upper_case"},
        {"match": "^upper$", "command": "upper_case"},
        {"match": "^lc$", "command": "lower_case"},
        {"match": "^lower$", "command": "lower_case"},
        {"match": "^(cap|caps)", "command": "title_case"},

        // shortcut case conversion plugin
        {"match": "^snake", "command": "convert_to_snake"},<commit_msg>Update TextPastryCommands.json<commit_after>{
    "commands": [
        {"match": "^(?:\\\\?[iI])$", "command": "text_pastry_step", "args": {"text": "1"}},
        {"match": "^(?:\\\\?[iI])?[\\s(]*(-?\\d+)(?:[\\s,]*(-?\\d+))?(?:[\\s,]*(-?\\d+))?[\\s)]*(.*)", "command": "text_pastry_step", "args": {"text": "$0"}},

        // use regex to split the clipboard data
        {"match": "^\\\\r\\((.*?)\\)$", "command": "text_pastry_insert_text", "args": {"separator": "$1", "clipboard": true, "regex": true}},
        {"match": "^r\\((.*?)\\)$", "command": "text_pastry_insert_text", "args": {"separator": "$1", "clipboard": true, "regex": true}},
        {"match": "^\\\\r (.*)", "command": "text_pastry_insert_text", "args": {"separator": "$1", "clipboard": true, "regex": true}},
        {"match": "^r (.*)", "command": "text_pastry_insert_text", "args": {"separator": "$1", "clipboard": true, "regex": true}},
        {"match": "^regex (.*)", "command": "text_pastry_insert_text", "args": {"separator": "$1", "clipboard": true, "regex": true}},

        // generate UUID
        {"match": "^\\\\UUID$", "command": "text_pastry_uuid", "args": {"uppercase": true} },
        {"match": "^\\\\UUID (x|X)(\\d+)$", "command": "text_pastry_uuid", "args": {"uppercase": true, "repeat": "$2"} },

        {"match": "^UUID$", "command": "text_pastry_uuid", "args": {"uppercase": true} },
        {"match": "^UUID (x|X)(\\d+)$", "command": "text_pastry_uuid", "args": {"uppercase": true, "repeat": "$2"} },

        {"match": "^\\\\uuid$", "command": "text_pastry_uuid" },
        {"match": "^\\\\uuid (x|X)(\\d+)$", "command": "text_pastry_uuid", "args": {"repeat": "$2"} },

        {"match": "^uuid$", "command": "text_pastry_uuid" },
        {"match": "^uuid (x|X)(\\d+)$", "command": "text_pastry_uuid", "args": {"repeat": "$2"} },

        // paste clipboard with custom separator
        {"match": "^\\\\p\\((.*?)\\)?$", "command": "text_pastry_insert_text", "args": {"separator": "$1", "clipboard": true} },
        {"match": "^p\\((.*?)\\)?$", "command": "text_pastry_insert_text", "args": {"separator": "$1", "clipboard": true} },
        {"match": "^\\\\p (.*)", "command": "text_pastry_insert_text", "args": {"separator": "$1", "clipboard": true} },
        {"match": "^p (.*)", "command": "text_pastry_insert_text", "args": {"separator": "$1", "clipboard": true} },

        // paste clipboard with newline separator
        {"match": "^\\\\p\\\\n", "command": "text_pastry_insert_text", "args": {"separator": "\\n", "clipboard": true} },
        {"match": "^pn$", "command": "text_pastry_insert_text", "args": {"separator": "\\n", "clipboard": true} },

        // paste clipboard with whitespace separator
        {"match": "^\\\\p$", "command": "text_pastry_insert_text", "args": {"clipboard": true} },
        {"match": "^p$", "command": "text_pastry_insert_text", "args": {"clipboard": true} },

        // paste by row
        {"match": "^pr$", "command": "text_pastry_insert_text", "args": {"clipboard": true, "by_rows": true} },
        {"match": "^pbr$", "command": "text_pastry_insert_text", "args": {"clipboard": true, "by_rows": true} },

        // regular text, using whitespace separator
        {"match": "^words no-repeat (.*)", "command": "text_pastry_words", "args": {"text": "$1", "repeat": false} },
        {"match": "^words (.*)", "command": "text_pastry_words", "args": {"text": "$1"} },

        // built-in commands
        {"match": "^uc$", "command": "upper_case"},
        {"match": "^upper$", "command": "upper_case"},
        {"match": "^lc$", "command": "lower_case"},
        {"match": "^lower$", "command": "lower_case"},
        {"match": "^(cap|caps)", "command": "title_case"},

        // shortcut case conversion plugin
        {"match": "^snake", "command": "convert_to_snake"},
{'fraction_non_alphanumeric': 0.3012459016393443, 'fraction_numerical': 0.004459016393442623, 'mean_word_length': 3.6929230769230768, 'pattern_counts': {'":': 276, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '752036', 'n_tokens_mistral': 2718, 'n_tokens_neox': 2571, 'n_words': 588}