Skip to content
forked from wzv5/regex_tool

About

一个跨平台的正则表达式调试工具。

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

Regex Tool

一个跨平台的正则表达式调试工具。

正则引擎来自 rust 官方库,界面使用 Qt,通过 cxx bridge 把 rust 库静态链接进主程序。

特性

  • 实时解析正则语法树
  • 支持 匹配、替换、分割 3 种模式
  • 支持高亮语法树中选中的部分
  • 支持高亮匹配项
  • 跨平台,已测试 Windows 和 Arch Linux

下载

仅限 Windows x64 系统。

https://github.com/wzv5/regex_tool/releases/latest

或者使用 Scoop:

scoop bucket add wzv5 https://github.com/wzv5/ScoopBucket
scoop install wzv5/regex-tool

其他系统请自行编译。

截图

screenshot_1

screenshot_2

编译

安装 rust,并安装依赖:

cargo install cxxbridge-cmd

之后直接使用 cmake 编译即可。

Windows 平台或许需要设置 CMAKE_PREFIX_PATH,添加 Qt 库的相关路径,如 -DCMAKE_PREFIX_PATH=D:/Qt/6.0.0/msvc2019_64。

已知问题

  • rust 正则引擎不支持前向、后向匹配

About

一个跨平台的正则表达式调试工具。

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages