开发者

emacs regex help

Okay, this should be s开发者_StackOverflow中文版uper easy, I must be doing something dumb.

I've got this:

double foo3;

I want to replace it with:

archiver & BOOST_SERIALIZATION(foo3);

I do this:

M-x query-replace-regxp RET double \(a-z0-9+\) RET archiver & BOOST_SERIALIZATION(\1)

Emacs says 0 matches.


You mist the List Operator:

double \([a-z0-9]+\)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜