Method

GLibRegexget_capture_count

Declaration

gint
g_regex_get_capture_count (
  const GRegex* regex
)

Description

Returns the number of capturing subpatterns in the pattern.

Available since:2.14

Return value

Type: gint

The number of capturing subpatterns.