/[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 123 by ph10, Mon Mar 12 15:19:06 2007 UTC revision 130 by ph10, Mon Mar 26 15:09:47 2007 UTC
# Line 4013  for(;;) Line 4013  for(;;)
4013        {        {
4014        while (start_match <= end_subject && !WAS_NEWLINE(start_match))        while (start_match <= end_subject && !WAS_NEWLINE(start_match))
4015          start_match++;          start_match++;
4016    
4017          /* If we have just passed a CR and the newline option is ANY, and we are
4018          now at a LF, advance the match position by one more character. */
4019    
4020          if (start_match[-1] == '\r' &&
4021               md->nltype == NLTYPE_ANY &&
4022               start_match < end_subject &&
4023               *start_match == '\n')
4024            start_match++;
4025        }        }
4026      }      }
4027    

Legend:
Removed from v.123  
changed lines
  Added in v.130

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12