Hi PhilYou are correct.  I do not even have to check.  I've changed (with the 
intention of improving :-) something in my process between PCRE and PCRE2 and 
did not see the implications.regarding POSIX.  I am glad I was diligent in the 
testings so the bug was discovered early on, in the RC stage.I will now correct 
my process and redo the test. Ze'ev Atlas


 

      From: "[email protected]" <[email protected]>
 To: "[email protected]" <[email protected]> 
Cc: Ze'ev Atlas <[email protected]>
 Sent: Saturday, January 2, 2016 10:29 AM
 Subject: Re: [pcre-dev] A question about testinput18
   
On Sat, 2 Jan 2016, I wrote:

> To check, please insert a printf() statement into the regcomp() function 
> in pcre2posix.c - sorry, I have to dash so I haven't time to make an 
> example now. Will do so later if I'm back here before you reply.

Around line 197 of pcre2posix.c:

PCRE2POSIX_EXP_DEFN int PCRE2_CALL_CONVENTION                              
regcomp(regex_t *preg, const char *pattern, int cflags)                      
{                                                                          
PCRE2_SIZE erroffset;                                                      
int errorcode;                                                            
int options = 0;  
int re_nsub = 0;                                                          

fprintf(stderr, "+++HERE+++\n");  /* <======== Insert this line */
                                                                          
if ((cflags & REG_ICASE) != 0)    options |= PCRE2_CASELESS;

Philip

-- 
Philip Hazel


  
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to