ctregex.zig:在Zig中编译时间正则表达式

时间:2024-05-29 03:12:58
【文件属性】:

文件名称:ctregex.zig:在Zig中编译时间正则表达式

文件大小:10KB

文件格式:ZIP

更新时间:2024-05-29 03:12:58

zig regex compile-time zig-library zig-package

Zig编译时间正则表达式 自2020年以来生成快速代码 特征 Comptime正则表达式编译 Comptime和运行时匹配 UTF8,UTF16le,ASCII,代码点数组支持 捕获(具有命名的(:...)支持) | , * , + ? , (:?...) , [...] , [^...] , {N} , {min,} , {min,max} '\ d','\ s'字符类 去做 尽可能使用DFA更快地生成代码 搜索,findAll等。 更多角色类别 更多功能(反向引用等) 例子 test "runtime matching" { @setEvalBranchQuota ( 1250 ); // The encoding is utf8 by default, you can use .ascii, .utf16le, .codepoint here ins


【文件预览】:
ctregex.zig-master
----README.md(1KB)
----ctregex.zig(37KB)
----tests.zig(5KB)

网友评论