Fix regex and test for word phrase as section name

This permits a section name like 'Buttons - Crazy Rainbow'