Method

GLibRegexget_capture_count

since: 2.14

Declaration [src]

gint
g_regex_get_capture_count (
  const GRegex* regex
)

Description [src]

Returns the number of capturing subpatterns in the pattern.

Available since: 2.14

Return value

Type: gint

The number of capturing subpatterns.