RegExpT.match

Return submatch with the given index.

class RegExpT(char_t)
const(char_t)[]
match
(
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