develooper Front page | perl.perl5.porters | Postings from August 2010

[PATCH-tests] Extra tests for a regex followed by an operator or astatement modifier.

Thread Previous | Thread Next
From:
Bram
Date:
August 19, 2010 11:56
Subject:
[PATCH-tests] Extra tests for a regex followed by an operator or astatement modifier.
Message ID:
20100819205557.415j4txpcks4goo4@horde.wizbit.be
Resend of the original patch.

The patch is updated to note the deprecation of the syntax which was  
added on 18 Jun 2010.

These tests however are still relevant/useful: these ensure that the  
syntax is not broken too earlier.


Best regards,

Bram

On Sun, 28 Feb 2010 14:12:33 +0100, Bram <p5p@perl.wizbit.be> wrote:

> The attached patch add tests to check if syntax such as:
>
>   m//and print "foo"
>   m//lt 2
>
> work correctly.
>
> This is valid syntax and work as expected but might be broken in a
> future version when a regex modifier is added.
> If this happens then these test should make 'us' aware of this.
>
>
> Best regards,
>
> Bram




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