RegExMatch.getEnd

Returns the end position of the match within the source string. The end 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
getEnd
(
VariantArg0
)
(
in VariantArg0 name = 0
)

Meta