Method

GLibRegexget_max_backref

since: 2.14

Declaration

gint
g_regex_get_max_backref (
  const GRegex* regex
)

Description

Returns the number of the highest back reference in the pattern, or 0 if the pattern does not contain back references.

Available since: 2.14

Return value

Type: gint

The number of the highest back reference.