regular expressions with other string classes
Carlos Gaston Alvarez
cgaston at moonqzie.com
Wed Sep 19 03:20:28 EDT 2001
I think that I dont understand the question.
Why dont you implement a str() o toString() and use de re engine over the
resulting string?
Chau,
Gaston
----- Original Message -----
From: "Juan ValiƱo" <juan.vali at terra.es>
Newsgroups: comp.lang.python
To: <python-list at python.org>
Sent: Wednesday, September 19, 2001 12:16 AM
Subject: regular expressions with other string classes
> It is possible to use the regular expression engine with other string-like
> structures?.
>
> For example, I can have my proper string class implemented as a list of
> python strings. Of course, my class would have an operator for direct
access
> to a character by index. (I think nothing more is necessary).
>
> I think that the new java sdk beta 1.4 includes such as regular expression
> engine.
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
More information about the Python-list
mailing list