Andrew Kenneth Milton wrote:
> But then you'd have to parse the contents to find out if the comments are
> properly nested...

Well, the parsing should be pretty simple:
1. find <dtml-comment>
2. search for </dtml-comment>
3. if found:
        ignore that block of text
   else if end of text reached:
        bitch like hell ;-)

What's wrong with that?

> I've looked at this briefly today, and the code inside DT_String.py is
> recursively ugly... d;)

You do surprise me ;-)

> It doesn't look difficult to provide what you want, but, I'm not motivated
> enough to fix it either at this stage. d8)

Aww... go on, you know you want to really ;-)

cheers,

Chris

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to