2011-10-10から1日間の記事一覧

VBScript のプロパティ、Pattern プロパティ \s, \S, \t, \v

Set r = New RegExp str = "abc def" & vbTab & "ghi" & vbVerticalTab r.Pattern = ".\s" Set Matches = r.Execute(str) MsgBox Matches(0) ' c r.Pattern = ".\S" Set Matches = r.Execute(str) MsgBox Matches(0) ' ab r.Pattern = ".\t" Set Matches = r…