doc-rst: parse-headers: improve delimiters to detect symbols