Markdown: slightly more robust sentinel regexp.