为什么git log --grep=\[92\]
将提交与以下消息匹配:
Author: Aston, Ben (Foo-UK) <Ben.Aston@foo.co.uk>
Date: Wed May 23 12:56:23 2012 +0000
[83] Favourites icon addition for release. <BA>
git-tfs-id: [http://fooppp012v:8080/tfs/TFS2010%20Collection]$/Foo/DnR;C210630
看来正确的正则表达式格式不是我想的那样?