Bowen
Bowen
这是在预期内的 如果表达式没有以 `//` 包裹,默认为字符串模式,即通过 `new RegExp()` 方式构建正则表达式 这种情况下 `/` 是可以不加转义符号的,执行 `new RegExp('/')` 并不会报错 如果包裹 `//` 了,则视为字面量模式,就会自动转义 `/`
Looks like JS doesn't support it?
> 有尝试使用webpack的alias或者rollup的global来解决吗? 你好。刚才试了下alias,和link一样,会有两份node_modules的问题
> > > 有尝试使用webpack的alias或者rollup的global来解决吗? > > > > > > 你好。刚才试了下alias,和link一样,会有两份node_modules的问题 > > 被引入包对A的依赖应该为peerDependency,不然它经过打包之后还是会把A打到自己的dist中,相当于还是两个实例 emmm,我刚才理解错了,你的意思是给A加alias?这样是没问题的,我更新一下文章,感谢~
PRs are welcome!
这似乎是 .Net 支持的语法?当前只支持 JavaScript 正则的语法 不过我在考虑支持更多的语法,如果有后续更新,我会回复这个 Issue
当前还没有支持 unicode flag。 不过 \x{4E00} 这是 php 的写法?
Thanks for your advice! > Aaah... more experimentation shows you can use the backspace key. That said, it would be helpful to make the delete key (also known as the...
Thanks for your feature request. I will add this feature either after or during the refactor. You can find more information about the refactor at https://github.com/Bowen7/regex-vis/pull/105.
非常感谢你的认可 我短期内没有支持 VS Code 插件的计划。`regex-vis` 近期的计划是将 绘制图形 这部分单独抽离成一个 package,现在这块的代码比较冗余,且过于耦合 之前我也有考虑过开发 VS Code 插件,但不知道以怎样的交互形式实现二次编辑正则的功能;如果抛弃二次编辑功能,又失去了 `regex-vis` 的一大特色。你如果有好的建议,可以随时在这或者 [Discussions](https://github.com/Bowen7/regex-vis/discussions) 中与我讨论