【发布时间】:2011-02-11 21:08:41
【问题描述】:
类似这样的:
http://perl.plover.com/yak/regex/samples/slide083.html
换句话说,我想在{ { foo } { bar} } 上成功匹配,而不是在{ { foo } 上。
我看到在 perl 中是可能的,and in .NET。在 emacs 正则表达式中可以吗?
【问题讨论】:
-
哈!所以很有趣。当我搜索更多关于此的提示时,在谷歌中输入“emacs regex balance”,我得到 this question 作为第一个命中。嘿嘿。