RegExpr.LinePairedSeparator to specify which characters will be treated as paired line separators. Paired line separators are used mainly on DOS and Windows operating systems. The string that is assigned to this property must contain exactly two characters or no characters at all. To get or set a single line separator use the
The default value is a carriage return (\r) and a newline (\n) -- or --
|RegExprObj||An expression, variable or parameter that specifies a reference to a RegExpr object|
The property is applied to the following object:
A string that contains characters treated as paired line separators.
The ^ metacharacter matches the start of the input text and if multi-line mode is enabled, it also matches after each line break.
The $ metacharacter matches the end of the input text and if multi-line mode is enabled, it also matches before every line break.
The . metacharacter matches any character and if single-line mode is disabled, it does not match a line break.
Depending on the operating system, a line break could contain only one character (Unix) or a pair of characters (DOS/Windows). Characters that are treated as line breaks are defined by the
RegExpr.LinePairedSeparator property respectively.
The following sample specifies new characters to be treated as double-character line breaks and posts lines separated by the characters to the test log.