Skip to main content

Localization

Command Description

Set regular expression for local

Command Prototype

Regex.SetLocale(bVal)

Parameter Description

ParameterRequiredTypeDefaultDescription
bValTruebooleanTrueValid or not

Demo

TracePrint("----------------------Set localization recognition--------------------- ---") 
//-------------------------------------------------------------------------------
//[Remarks] Set the regular expression localization recognition.
//Input parameter 1:
// bVal--Whether it takes effect.
//out parameters:
// None.
//
//Command prototype: Regex.SetLocale(bVal)
//-------------------------------------------------------------------------------
Regex.SetLocale(true)