/[pcre]/code/branches/pcre16/pcre_dfa_exec.c
ViewVC logotype

Diff of /code/branches/pcre16/pcre_dfa_exec.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 426 by ph10, Wed Aug 26 15:38:32 2009 UTC revision 427 by ph10, Fri Aug 28 09:55:54 2009 UTC
# Line 2473  for (;;) Line 2473  for (;;)
2473    
2474    if (new_count <= 0)    if (new_count <= 0)
2475      {      {
2476      if (match_count < 0 &&                     /* No matches found */      if (rlevel == 1 &&                               /* Top level, and */
2477          rlevel == 1 &&                         /* Top level match function */          (                                            /* either... */
2478          (md->moptions & PCRE_PARTIAL) != 0 &&  /* Want partial matching */          (md->moptions & PCRE_PARTIAL_HARD) != 0      /* Hard partial */
2479          ptr >= end_subject &&                  /* Reached end of subject */          ||                                           /* or... */
2480          ptr > current_subject)                 /* Matched non-empty string */          ((md->moptions & PCRE_PARTIAL_SOFT) != 0 &&  /* Soft partial and */
2481             match_count < 0)                            /* no matches */
2482            ) &&                                         /* And... */
2483            ptr >= end_subject &&                     /* Reached end of subject */
2484            ptr > current_subject)                    /* Matched non-empty string */
2485        {        {
2486        if (offsetcount >= 2)        if (offsetcount >= 2)
2487          {          {

Legend:
Removed from v.426  
changed lines
  Added in v.427

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12