[EMAIL PROTECTED] wrote:

> I agree to a certain extent, but by analogy
>
> <!DOCTYPE a [
> <!ELEMENT a (b | c*)+>
> ]>
> <a></a>
>
> is a valid SGML/XML document and their is a lot of (superficial?)
> similarity between DTD content models and REs.

they're related, but they don't have the same semantics (Python uses
a backtracking engine, while the DTD model is a true DFA).

</F>



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to