摘要: 正则表达式,普通字符、元字符(metacharacter) 1 Imports System.Text.RegularExpressions 2 Module Module1 3 Public Sub Main() 4 Dim strTxt As String 5 Dim rgxExp As New System.Text.RegularExpressions.Regex("^[1-9]\d*$") 6 strTxt = "a12345" 7 Dim flag As Boolean = rgxExp.IsMatch(str... 阅读全文
posted @ 2013-04-02 16:38 xtypeu 阅读(103) 评论(0) 推荐(0) 编辑
摘要: vs调试:第一种F10调试,单步执行,不进入调用的其它函数第二种F11调试,单步执行,进入调用的其它函数运行到当前光标处:Ctrl+F10条件中断:跟踪点:进入断点时的自定义操作自定义宏:1 SubDumpLocals()2 DimoutputWindowAsEnvDTE.OutputWindow3 outputWindow=DTE.Windows.Item(EnvDTE.Constants.vsWindowKindOutput).Object4 DimcurrentStackFrameAsEnvDTE.StackFrame5 currentStackFrame=DTE.Debugger.Cu 阅读全文
posted @ 2013-04-02 11:35 xtypeu 阅读(132) 评论(0) 推荐(0) 编辑