Simplify the subRe regular expression by using a non-capturing group for the section labels instead of alternation, and switch the lookahead to a non-capturing group for consistency. Add comments to document the purpose of stepRe and subRe for better maintainability. |
||
|---|---|---|
| .. | ||
| errors | ||
| git | ||
| grok | ||
| linter | ||
| logger | ||
| recipe | ||
| version | ||