作者vernc (cralvin)
看板RegExp
标题Re: [问题] 怎抓到全部的()
时间Fri Oct 11 12:03:50 2024
http://www.antp.be/software/renamer
email作者请他更新TRegExpr版本
经过一年时光(看记录是2023.12)回信了
那位帮忙测一下、看"negative lookahead" and "Recursion"等这些有没有问题
若想增加什麽功能也可以说一声
Hi,
Better late than never, I took the time to make a build of Ant Renamer with a
newer version of TRegExpr, and fixing two small bugs at the same time.
If you are still interested, could you test if it works as intended with that
new version? As I'm not sure how to use these advanced regexp functionalities
:)
https://update.antp.be/renamer/antrenamer2121.zip
(simply replace the renamer.exe of your current install by that one)
If it works fine, I'll release that as version 2.12.1 or 2.13.0, depending if
I add or a new function to it in the next days.
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 36.239.53.110 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/RegExp/M.1728619438.A.BB1.html
1F:→ hunandy14: 四年後的今天这种千古难题随便就能解了 02/27 08:59
2F:→ hunandy14: '\((?:[^()]+|\([^()]+\))*\)' 真是神奇 02/27 08:59
3F:→ hunandy14: \((?:[^()]*|\((?:[^()]*|\([^()]*\))*\))*\) 三层嵌套 02/27 09:14
4F:→ hunandy14: 4层自己看着扩展继续写下去而已 02/27 09:15
5F:→ Bugzilla: 这不算千古难题吧,原文大家就提供解答了 02/27 09:20
6F:→ Bugzilla: 包含原原po想要的不限层数写法 02/27 09:21
7F:→ nfsong: chatGPT ? 03/02 00:36
8F:→ hunandy14: 哦 我看到了原文有回了解法 03/02 14:12