Re: [pcre-dev] Partial match?

Etusivu
Poista viesti
Lähettäjä: Sheri
Päiväys:  
Vastaanottaja: pcre-dev
Aihe: Re: [pcre-dev] Partial match?
Never mind, its because the pattern wasn't anchored.

Sheri

Sheri wrote:
> Hi,
>
> The pattern below lacks a caseless option. Why would it test as partial
> (or any type of) match? Is it a bug?
>
> Thanks,
> Sheri
>
> pcretest -C
> PCRE version 7.2 2007-06-19
> Compiled with
> UTF-8 support
> Unicode properties support
> Newline sequence is ANYCRLF
> Internal link size = 2
> POSIX malloc threshold = 10
> Default match limit = 10000000
> Default recursion depth limit = 10000000
> Match recursion uses heap
>
> pcretest
> PCRE version 7.2 2007-06-19
>
> re> /(\w)+ HAD (\d)+ lambs/
> data> Steve had 2 lambs\P
> Partial match
>
>
>