I write text files in the MoinMoin Wiki markup language in a text editor (emacs). When I mis-place one of the special tags my whole page gets mangled with the wrong formatting -- or worse. I always close a formatting element on the same line where I opened it.
Can I use gnu grep to find mismatching Wiki-tags on a line? Like:
<<macroname(params)>>backtickcodebacktick''double quotes for italics''-- probably difficult'''triple quotes for bold'''-- probably difficult
I normally do not nest tags. So there is no "bold code" or "bold italics".