updated regex for section headers, fixes #1