Adding whitespace capability to section header regex

Change supports section headers containing whitespace.