RegExOptions.StringEndIsLineEnd

From Xojo Documentation

Property (As Boolean )
aRegExOptions.StringEndIsLineEnd = newBooleanValue
or
BooleanValue = aRegExOptions.StringEndIsLineEnd

Supported for all project types and targets.

Indicates whether a string's end should be counted as the end of a line. The default is True.