dsh-regex
文件与数据 活跃维护

dsh-regex

uckkk/dsh-regex

轻量级开源正则工具,支持正则表达式匹配测试、替换效果预览、特殊字符转义等常用操作,界面简洁无冗余功能,无需复杂配置即可快速验证正则规则准确性,助力开发调试。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
5 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:uckkk/dsh-regex
git clone https://github.com/uckkk/dsh-regex.git
git clone git@github.com:uckkk/dsh-regex.git
README.md main

dsh-regex · 正则工具

测试正则匹配(位置/分组)、安全替换、特殊字符转义。纯 Node 实现。

提供的工具

工具 作用
regex_test 测试匹配
regex_replace 正则替换
regex_escape 特殊字符转义

安装

dsh plugin add dsh-regex

安装后在 profile 的 package.json 的 dsh.profile.bundles 中加入 "dsh-regex"。

用法示例

测试这个正则能匹配到什么
→ 调用 regex_test(pattern="\\d+", text="a1b22c333")

安装

dsh plugin add github:uckkk/dsh-regex

安装即在本机运行第三方代码,请自行审阅源码。

安装

dsh plugin add github:uckkk/dsh-regex

使用

安装后在会话中调用该插件注册的工具即可。

许可

MIT

安装即在本机运行第三方代码,请自行审阅源码。