1 个仓库
Tools that generate regular expressions from a high-level descriptive syntax rather than from example strings.
Distinct from Regular Expression Generators: Distinguished from standard generators that synthesize regex from a set of provided matching examples.
Explore 1 awesome GitHub repository matching development tools & productivity · Syntax-Based Regex Generators. Refine with filters or upvote what's useful.
Melody 是一个正则表达式转译器和模式编译器,将高级、人类可读的语法转换为标准正则表达式。它作为简化复杂匹配模式创建和维护的工具。 该项目提供了一种专用语法,用于定义可重用变量和宏,以减少表达式中的重复。它包括对将专用标签映射到 Unicode 类别属性的原生支持,并自动处理字面文本的转义。 该系统可通过多种接口访问,包括用于编译和测试字符串或文件模式的命令行工具、用于实时评估的有状态交互式 REPL,以及用于将语法转换集成到 JavaScript 构建流水线中的 Babel 插件。它还提供了一个基于浏览器的接口,无需本地安装即可测试语法。 该编译器支持标准正则表达式功能,如捕获组、环视断言、字符类和量词。
Generates standard regular expressions by transpiling human-readable syntax and definitions.