RegExMatch.getString

Returns the substring of the match from the source string. 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 an empty string if the group did not match or doesn't exist.

struct RegExMatch
@nogc nothrow const
String
getString
(
VariantArg0
)
(
in VariantArg0 name = 0
)

Meta