Shidan wrote:
> I'm looking for a Python module that provides methods for ordering
> regexes based on
> how general they are ( how much they match). Do I have to write it
> myself or does something exist already.
What do you mean by "how much they match" ? If you mean, what is the
entire set of s
Then maybe you could write a regex that matches every regex that does
not match itself.
ha! sorry, couldn't resist.
On Jul 23, 2007, at 11:29 AM, Bill Campbell wrote:
> On Mon, Jul 23, 2007, James Hartley wrote:
>> On 7/23/07, Shidan <[EMAIL PROTECTED]> wrote:
>>> I'm looking for a Python mod
On Mon, Jul 23, 2007, James Hartley wrote:
>On 7/23/07, Shidan <[EMAIL PROTECTED]> wrote:
>> I'm looking for a Python module that provides methods for ordering
>> regexes based on
>> how general they are ( how much they match). Do I have to write it
>
>Your question is relative. Classifying which
On 7/23/07, Shidan <[EMAIL PROTECTED]> wrote:
> I'm looking for a Python module that provides methods for ordering
> regexes based on
> how general they are ( how much they match). Do I have to write it
Your question is relative. Classifying which regular expression is
more general depends upon t
I'm looking for a Python module that provides methods for ordering
regexes based on
how general they are ( how much they match). Do I have to write it
myself or does something exist already.
Shidan
___
Tutor maillist - Tutor@python.org
http://mail