Set-Matching-Line-Breaks
Command Description
Set the regular expression to match newline characters
Command Prototype
Regex.SetDotAll(bVal)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
bVal | True | boolean | True | Valid 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)