【发布时间】:2015-06-13 13:20:43
【问题描述】:
在Emacs中,我想用正则表达式来匹配诸如
之类的行List of symbols
List of symbols
List of symbols
不匹配以数字或((前面有零个或多个空格)开头的行,例如
1. Arithmetic and Algebra
1. Arithmetic and Algebra
(a) Powers
(a) Powers
但^ *[^[:digit:](] 或^[[:space:]]*[^[:digit:](] 都可以匹配
1. Arithmetic and Algebra
(a) Powers
每行开头都有一个空格。
我想知道我错在哪里?谢谢。
【问题讨论】: