03 2008 档案
VC Message mapping
摘要:typedef void (CCmdTarget::*AFX_PMSG)(void); struct AFX_MSGMAP_ENTRY // MFC 4.0 { UINT nMessage; // windows message UINT nCode; // control code or WM_NOTIFY code UINT nID; ... 阅读全文
posted @ 2008-03-20 23:02 BlueTzar 阅读(500) 评论(0) 推荐(0)
正则表达式(RegexBuddy help document)
摘要:正则表达式(RegexBuddy help document) 1.什么是正则表达式 基本说来,正则表达式是一种用来描述一定数量文本的模式。Regex代表Regular Express。本文将用>来表示一段具体的正则表达式。 一段文本就是最基本的模式,简单的匹配相同的文本。 2.不同的正则表达式引擎 正则表达式引擎是一种可以处理正则表达式的软件。通常,引擎是更大的应用程序... 阅读全文
posted @ 2008-03-01 21:30 BlueTzar 阅读(1047) 评论(0) 推荐(0)
使用正则表达式进行查找、替换
摘要:一般代码编辑器都提供基于正则表达式的查找、替换功能。但支持的标准有所差异,下面举例说明在VS中的实际应用。 Example 1: source code: Assert.AreEqual(null, property._AcquiredDate); Assert.AreEqual(null, property._AcreageNumber); aim style: property._Acqui... 阅读全文
posted @ 2008-03-01 14:34 BlueTzar 阅读(677) 评论(0) 推荐(0)