/[pcre]/code/trunk/pcre_exec.c
ViewVC logotype

Diff of /code/trunk/pcre_exec.c

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

revision 629 by ph10, Wed Jul 20 17:51:54 2011 UTC revision 630 by ph10, Fri Jul 22 10:00:10 2011 UTC
# Line 1365  for (;;) Line 1365  for (;;)
1365        if (rrc == MATCH_MATCH || rrc == MATCH_ACCEPT)        if (rrc == MATCH_MATCH || rrc == MATCH_ACCEPT)
1366          {          {
1367          mstart = md->start_match_ptr;   /* In case \K reset it */          mstart = md->start_match_ptr;   /* In case \K reset it */
1368            markptr = md->mark;
1369          break;          break;
1370          }          }
1371        if (rrc != MATCH_NOMATCH &&        if (rrc != MATCH_NOMATCH &&
# Line 1653  for (;;) Line 1654  for (;;)
1654        md->end_match_ptr = eptr;      /* For ONCE */        md->end_match_ptr = eptr;      /* For ONCE */
1655        md->end_offset_top = offset_top;        md->end_offset_top = offset_top;
1656        md->start_match_ptr = mstart;        md->start_match_ptr = mstart;
1657        MRRETURN(MATCH_MATCH);        MRRETURN(MATCH_MATCH);         /* Sets md->mark */
1658        }        }
1659    
1660      /* For capturing groups we have to check the group number back at the start      /* For capturing groups we have to check the group number back at the start

Legend:
Removed from v.629  
changed lines
  Added in v.630

  ViewVC Help
Powered by ViewVC 1.1.5