Match.get
getindexif_missing
Documentation
Gets the grapheme span matched by the group with the provided index, or a default value if the group did not participate in the match. If the identifier is invalid then if_missing
is returned.
Arguments
id
: The integer index or name of that group.if_missing
: The value to return if the index is out of bounds.