RegEx/Unix/Conf_Section.regex.txt

# Matches Sections in a .conf file.
(?m)\[(?<SectionName>(?:.|\s){0,}?(?=\z|]))(?<SectionLines>(?:.|\s){0,}?(?=\z|^\[))