On Mon, Mar 31, 2025 at 12:13:09AM -0300, Lucas Seiki Oshiro wrote:
Add a new builtin driver for generic INI files (e. g. the gitconfig
files), where:
- the funcname regular expression matches section names, i. e. any
string between brackets at the beginning of the line, with or without
indentation;
- word_regex matches any word with one or more non-whitespace
characters without checking if it is a valid variable name or value.
Also add tests for the new userdiff driver. These files define sections
and subsections, with and without indentation.
Helped-by: Patrick Steinhardt [off-list ref]
Helped-by: D. Ben Knoble [off-list ref]
Signed-off-by: Lucas Seiki Oshiro <redacted>
This commit message reads quite nicely now. The changes also look
sensible to me. Thanks, I've got nothing else to add!
Patrick