develooper Front page | perl.perl5.porters | Postings from July 2013

Re: [perl #119075] Regex inconsistency

Thread Previous | Thread Next
From:
demerphq
Date:
July 30, 2013 11:22
Subject:
Re: [perl #119075] Regex inconsistency
Message ID:
CANgJU+VGVCvqZrWe=p-P_CRfkhGhitk87F-k__af=99YGp8Q_g@mail.gmail.com
On 30 July 2013 03:34, James E Keenan via RT <perlbug-followup@perl.org> wrote:
> On Mon Jul 29 17:52:19 2013, jkeenan wrote:
>> On Mon Jul 29 11:09:53 2013, nicholas wrote:
>>
>> >
>> > Also, presumably we should add Philip Hazel's test cases as regression
>> > tests.
>> >
>> > Nicholas Clark
>> >
>>
>> Is there a particular file in t/re/ where we should stick these tests?
>>
>> If someone can advise me on that, then I will insert them.
>>
>> Thank you very much.
>> Jim Keenan
>
>
> The attached should be considered a first draft of those regression
> tests.  Please improve.

IMO this is just fine. I might have put them in t/re/re_tests but
where you put them is ok as well. The main difference is the
t/re/re_tests get run in a bunch of variant forms so are probably more
exhaustive that pat_advanced. In general pat_advanced.t and related
files are used to test things that require perl code to test, or which
have caused segfaults in the past.

Yves
-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About