How do I submit a bug so this gets fixed?  As you can see, workaround inside 
perl directly works fine:

# echo TesT | perl -ne '/\Qtest\E/ and print'
# echo TesT | perl -ne '/\Qtest\E/i and print'
TesT

Thanks.

--- On Fri, 8/27/10, Philip Hazel <[email protected]> wrote:

> From: Philip Hazel <[email protected]>
> Subject: Re: [pcre-dev] How to use \Q \E in GREP in a case-insensitive way?
> To: "Paolo Bonzini" <[email protected]>
> Cc: "Stormy" <[email protected]>, [email protected]
> Date: Friday, August 27, 2010, 2:45 AM
> On Thu, 26 Aug 2010, Paolo Bonzini
> wrote:
> 
> > For the record, the bug (or unexpected behavior) seems
> to be that text 
> > within \Q...\E does not obey PCRE_CASELESS.
> 
> Not true, at least not in the current PCRE. This is output
> from pcretest:
> 
> PCRE version 8.10 2010-06-25
> 
> '\QTeST\E'
>   TeST
>  0: TeST
>   
> '\Qtest\E'i
>   TeST 
>  0: TeST
> 
> In other words, a match in both cases. To doublecheck, I
> looked at the
> compiled code for the cases with and without \Q...\E, and
> they are 
> identical.
> 
> Philip
> 
> -- 
> Philip Hazel
>

Reply via email to