Perform an operation on each config variable matching a regular expression.
This behaviors like git_config_foreach
with an additional filter of a
regular expression that filters which config keys are passed to the
callback.
regular expression to match against config names
the data to pass to the callback
0 or the return value of the callback which didn't return 0