Parses an SGML <!ELEMENT ...>. It doesn't account for name groups. See https://sgmljs.net/docs/sgmlrefman.html.
Note that the "Flavor" should be .NET as things get a little weird with the # matching.