RegEx/Unix/Conf_Section.regex.txt

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