-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
搜索替换的正则表达式不支持换行符 #925
Comments
下载版本为:Notepad4_zh-Hans_x64_v24.11r5548.zip |
明白了,感谢解答。只不过\r从来没在其他文本编辑器的正则表达式里用过,能否兼容一下只用\n表示\r\n和仅\n的情况。 |
你可以用 |
感谢提醒,我只是觉得其他的只用\n的方式挺智能的:D |
能够用\r\n搜索换行就已经够好了,毕竟之前的正则引擎这都不能用的。括号引用也不是$1而是\1,导致我需要开VSCode。 |
比如我想匹配如下的格式
15:56
即时间加一到两个换行,把换行符替换掉,我用(\d\d:\d\d)\n\n无法匹配这行,只能匹配到(\d\d:\d\d)
我试了其他软件比如akelpad、sublime之类都可以用,希望能放开正则表达式的\n换行符支持功能。
The text was updated successfully, but these errors were encountered: