comp • gb.pcre • regexp • noautocapture

RegExp.NoAutoCapture (gb.pcre)

Const NoAutoCapture As Integer = 4096 ' &H1000

If this compilation option is specified, it disables the use of numbered capturing parentheses in the pattern.

Any opening parenthesis that is not followed by ? behaves as if it were followed by ?: but named parentheses can still be used for capturing (and they acquire numbers in the usual way).