亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

VBS教程:VBscript屬性-IgnoreCase 屬性

 更新時(shí)間:2006年11月16日 00:00:00   作者:  

IgnoreCase 屬性

設(shè)置或返回一個(gè)Boolean值,指明模式搜索是否區(qū)分大小寫。

object.IgnoreCase [= True | False ]

Object 參數(shù)總是一個(gè) RegExp 對(duì)象。如果搜索是區(qū)分大小寫的,則 IgnoreCase 屬性為 False;否則為 True。缺省值為 False。

說(shuō)明

下面的代碼說(shuō)明了 IgnoreCase 屬性的用法(改變賦予 IgnoreCase 屬性的值以觀察其效果):

Function RegExpTest(patrn, strng)  Dim regEx,Match,Matches         ' 建立變量。  Set regEx = New RegExp         ' 建立正則表達(dá)式。  regEx.Pattern = patrn         ' 設(shè)置模式。  regEx.IgnoreCase = True         ' 設(shè)置不區(qū)分大小寫。regEx.Global=True                             ' 設(shè)置全局可用性set matches=regExExecute(string )             ' 執(zhí)行搜索。for each match in matches                     ' 重復(fù)匹配集合RetStr=RetStr &"Match found at position "RetStr=RetStr&Match.FirstIndex&".Match Value is '"RetStr=RetStr&Match.Value&"'."&vbCRLF NextRegExpTest=RetStrEnd FunctionMsgBox(RegExpTest("is.", "IS1 is2 IS3 is4"))

相關(guān)文章

最新評(píng)論