home/categories/machine-learning/xu-xiang-everything-claude-code-zh-skills-regex-vs-llm-structured-text-skill-md
machine-learningdata-ai

regex-vs-llm-structured-text

在解析结构化文本时,用于在正则表达式(Regex)和大型语言模型(LLM)之间进行选择的决策框架——优先使用正则表达式,仅针对低置信度的边界情况引入 LLM。

xu-xiang
maintainer
xu-xiang
Updated 3/5/2026
Stars
376
Forks
77
quick start

Installation and usage

在解析结构化文本时,用于在正则表达式(Regex)和大型语言模型(LLM)之间进行选择的决策框架——优先使用正则表达式,仅针对低置信度的边界情况引入 LLM。

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use regex-vs-llm-structured-text