[pcre-dev] PCRE bug

Αρχική Σελίδα
Delete this message
Συντάκτης: Srinivas R Thota
Ημερομηνία:  
Προς: pcre-dev
Αντικείμενο: [pcre-dev] PCRE bug
Hi,

When I tried to match

"000*1211" on regular exp

((0){1,})|((0)|(1)|(2)){1,}(\\*)((0)|(1)|(2)){1,}

with pcre, the result in the match structure's (regmatch_t) first
member should be containing
the whole string that is matched which should be ""000*1211"" , but PCRE
7.0 is actually only
matching "000" only 3 characters ?

Please kindly check this...

Thanks,
Srinivas R Thota

-- 
***************************************************************************************
    This e-mail and attachments contain confidential information from 
HUAWEI, which is intended only for the person or entity whose address is 
listed above. Any use of the information contained herein in any way 
(including, but not limited to, total or partial disclosure, reproduction,
 or dissemination) by persons other than the intended recipient's) 
is prohibited. If you receive this e-mail in error, please notify the 
sender by phone or email immediately and delete it!