... and in particular the "How to make your own Winapp2.ini entry!" section.
I would point out that the "Winapp2.ini" file mentioned is a user generated file (and project) and is not in any way supported by or updated by Piriform. And any discussion on that subject is strictly limited to that particular thread.
Other than that, it probably contains all the guidance you're looking for.
However I did read the piriform help and the post you mentioned and inspected the builtin winapp/winreg/winsys.ini as well as the winapp2.ini before asking my questions. So if I haven't overlooked something the answers aren't in it.
I would like to learn the underlying programming language/pattern matcher so to build my own contructs. The available documentation is insufficient for that.
Does CCleaner support some well defined language/pattern matcher like regular expressions, CleanerML, etc.?
Sorry squire, I can't help you other than the above.
Would if I could, but it isn't something I'm into at all, and I don't think there's anything other than where you've already looked.
You may get something from one of the other guys, but as we're all volunteers here I would be surprised if anyone had anything more informative than that topic.
My advice would be to download the winapp2.ini file from the topic, inside it is a ton of cleaners you could study to see how cleaners are made by users. It's the best way I know of to learn how to make your own cleaners.