[pcre-dev] Checking the PCRE2 version not work as expected

Αρχική Σελίδα
Delete this message
Συντάκτης: ND
Ημερομηνία:  
Προς: Pcre-dev
Αντικείμενο: [pcre-dev] Checking the PCRE2 version not work as expected

Hi!

pcretest listing:


PCRE2 version 10.31 2018-02-12
/(?(VERSION>=10.04)yes|no)/
yes
No match

/(?(VERSION>=10.4)yes|no)/
yes
No match


I expect match in both cases. If it shouldn't match then document please
this behaviour. Or point me please if this is already explaned in docs.