comp • gb.pcre • regexp • anchored

RegExp.Anchored (gb.pcre)

Const Anchored As Integer = 16 ' &H10

If this compilation is specified, the pattern is forced to be "anchored", that is, it is constrained to match only at the first matching point in the string that is being searched (the "subject string").

This effect can also be achieved by appropriate constructs in the pattern itself.