Ggit.Config.match_foreach

### Method

# Ggit Configmatch_foreach

#### Declaration [src]

    gboolean
    ggit_config_match_foreach (
      GgitConfig* config,
      GRegex* regex,
      GgitConfigMatchCallback callback,
      gpointer user_data,
      GError** error
    )

#### Description [src]

Call `callback` for all configurations matching `regex`.

#### Parameters

`regex` | `GRegex`
| A `GRegex`.
| The data is owned by the caller of the function.
`callback` | `GgitConfigMatchCallback`
| A `GgitConfigMatchCallback`.
`user_data` | `gpointer`
| The user data for `callback`.
| The argument can be `NULL`.
| The data is owned by the caller of the function.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `gboolean`
| `TRUE` if matches were successfull, `FALSE` otherwise.