Hi, On Wed, 5 Dec 2007, Björn Steinbrink wrote: > Some systems don't return 1 from regexec() when the pattern does not > match (notably HP-UX which returns 20). Fortunately, there's the > REG_NOMATCH constant, which we can use as the expected return value > and test for that instead of "1 XOR retval". > > Bug identified by Dscho and H.Merijn Brand. > > Signed-off-by: Björn Steinbrink <B.Steinbrink@xxxxxx> > Tested-by: H.Merijn Brand <h.m.brand@xxxxxxxxx> > Cc: Johannes Schindelin <Johannes.Schindelin@xxxxxx> ACK Ciao, Dscho