RegExpT.opIndex

Return submatch with the given index.

class RegExpT(char_t)
const(char_t)[]
opIndex
(
uint index
)

Parameters

index uint

0 returns whole match, index > 0 returns submatch of bracket #index

Return Value

Type: const(char_t)[]

Slice of input for the requested submatch, or null if no such submatch exists.

Meta