fix definition block regression

As explained in #20, this makes the definition block region start pattern more strict to avoid it having match codeblock tildes. Added test case as well as tested on my own documents. Seems to have fixed the issue entirely.