Skip to main content

Set-Matching-Line-Breaks

Command Description

Set the regular expression to match newline characters

Command Prototype

Regex.SetDotAll(bVal)

Parameter Description

ParameterRequiredTypeDefaultDescription
bValTruebooleanTrueValid or not

Demo

TracePrint("----------------------Set matching newline---------------------- --") 
//-------------------------------------------------------------------------------
//[Remarks] Set the regular expression to match the newline.
//Input parameter 1:
// bVal--Whether it takes effect.
//out parameters:
// None.
//
//Command prototype: Regex.SetDotAll(bVal)
//-------------------------------------------------------------------------------
Regex.SetDotAll(true)