[pcre-dev] minimum matching length

Page principale
Supprimer ce message
Auteur: Jack Bates
Date:  
À: pcre-dev
Sujet: [pcre-dev] minimum matching length
Is is possible, using PCRE, to determine the minimum matching length of
an expression? For example:

* ^HTTP.* => 4
* ^(?:HTTP)?.+ => 1
* ^(?:HTTP)?.* => 0