RegExOptions.StringBeginIsLineBegin

From Xojo Documentation

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

Supported for all project types and targets.

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