RegExOptions.TreatTargetAsOneLIne
From Xojo Documentation
Property (As Boolean )
aRegExOptions.TreatTargetAsOneLine = newBooleanValue
or
BooleanValue = aRegExOptions.TreatTargetAsOneLine
Supported for all project types and targets.
or
BooleanValue = aRegExOptions.TreatTargetAsOneLine
Supported for all project types and targets.
Ignores internal newlines for purposes of matching against '^' and '$'. The default is False.