[Python-Dev] Regexp 2.7

Guido van Rossum guido at python.org
Tue Mar 10 19:32:10 CET 2009


Hm, what's wrong with the existing set of regex test cases? This is
one of the most complete set of test cases in our test suite.

On Tue, Mar 10, 2009 at 11:08 AM, Jared Grubb <jared.grubb at gmail.com> wrote:
> Would there be any interest in augmenting the test case library for the
> regex stuff?
>
> When I was working on PyPy, we were using a simplified regular expression
> matcher to implement the tokenizer for Python. I was able to take a lot of
> PCRE's regex tests and port them to test our regular expression
> implementation (to make sure the DFA's were being optimized properly, etc).
>
> I believe the PCRE test library was under a very liberal license, and so we
> may be able to do the same here. If there's interest in it, I can do the
> same for Python.
>
> Jared
>
> On 9 Mar 2009, at 16:07, Antoine Pitrou wrote:
>
>> Facundo Batista <facundobatista <at> gmail.com> writes:
>>>
>>>> Matthew Barnett has been doing a lot of work on the regular expressions
>>
>> engine
>>>>
>>>> (it seems he hasn't finished yet) under
>>>> http://bugs.python.org/issue2636.
>>>> However, the patches are really huge and touch all of the sre internals.
>>>> I
>>>> wonder what the review process can be for such patches? Is there someone
>>>> knowledgeable enough to be able to review them?
>>>
>>> All test cases run ok? How well covered is that library?
>>
>> I don't know, I haven't even tried it.
>>
>> Regards
>> Antoine.
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/guido%40python.org
>



-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list