Skip to main content

Set-Case-Insensitive

Command Description

Set regular expression to be case-insensitive

Command Prototype

Regex.SetIgnoreCase(bVal)

Parameter Description

ParameterRequiredTypeDefaultDescription
bValTruebooleanTrueIgnore or not

Demo

TracePrint("----------------------Set ignore case---------------------- ---") 
//-------------------------------------------------------------------------------
//[Remarks] Set the regular expression to ignore case.
//Input parameter 1:
// bVal--whether to ignore.
//out parameters:
// None.
//
//Command prototype: Regex.SetIgnoreCase(bVal)
//-------------------------------------------------------------------------------
Regex.SetIgnoreCase(true)