Re: [pcre-dev] Partial match at end of subject
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
This message is part of the following thread:
the complete thread tree sorted by date
ph10 at
2019-07-22 09:33
ND at
2019-07-22 17:32
Author:
ph10
Date:
2019-07-22 16:32
UTC
To:
ND
CC:
Pcre-dev
Subject:
Re: [pcre-dev] Partial match at end of subject
On Sun, 21 Jul 2019, ND via Pcre-dev wrote:
> /(?![ab]).*/
> ab\=ph
> 0:
>
> /c*+/
> ab\=ph,offset=2
> 0:
The characteristic of these is that the pattern can match an empty
string. I have now added this condition (which was easily done with no
repeated test) and those patterns now give partial matches.
Philip
--
Philip Hazel