RegExMatch.getStart

Returns the starting position of the match within the source string. The starting position of capturing groups can be retrieved by providing its group number as an integer or its string name (if it's a named group). The default value of 0 refers to the whole pattern. Returns -1 if the group did not match or doesn't exist.

struct RegExMatch
@nogc nothrow const
long
getStart
(
VariantArg0
)
(
in VariantArg0 name = 0
)

Meta