add spaces in chapter text and section label regexes