Re: [pcre-dev] Question regarding testdata/testoutput1

Page principale
Supprimer ce message
Auteur: ilan dimnik
Date:  
À: pcre-dev
Sujet: Re: [pcre-dev] Question regarding testdata/testoutput1
OK, Thanks.

Ilan

On Sun, Feb 14, 2010 at 4:21 PM, Philip Hazel <ph10@???> wrote:

> On Sun, 14 Feb 2010, ilan dimnik wrote:
>
> > The below is takem from testoutput1. Why does "abk " (there are some
> > spaces after the last 'k') is on the failing list? The strings has some
> > white spaces at the end.
> > Doesn't it mean it should be on the accepting list?
>
> You might think so, but if you read the specification of the pcretest
> program, you find this:
>
> DATA LINES
>
>       Before each data line is passed to pcre_exec(),  leading  and
>  trailing
>       whitespace  is  removed,  and it is then scanned for \ escapes.

>
> Philip
>
> --
> Philip Hazel
>