Lines Matching refs:newline

48 #define NLBLOCK md             /* Block containing newline information */
2081 /* Multiline mode: start of subject unless notbol, or after any newline. */
2105 /* Multiline mode: assert before any newline, or before end of subject
2133 /* Not multiline mode: assert before a terminating newline or before end of
2295 /* Match any single character type except newline; have to take care with
2328 any byte, even newline, independent of the setting of PCRE_DOTALL. */
6351 int newline;
6596 /* Handle different types of newline. The three bits give eight cases. If
6602 case 0: newline = NEWLINE; break; /* Compile-time default */
6603 case PCRE_NEWLINE_CR: newline = CHAR_CR; break;
6604 case PCRE_NEWLINE_LF: newline = CHAR_NL; break;
6606 PCRE_NEWLINE_LF: newline = (CHAR_CR << 8) | CHAR_NL; break;
6607 case PCRE_NEWLINE_ANY: newline = -1; break;
6608 case PCRE_NEWLINE_ANYCRLF: newline = -2; break;
6612 if (newline == -2)
6616 else if (newline < 0)
6623 if (newline > 255)
6626 md->nl[0] = (newline >> 8) & 255;
6627 md->nl[1] = newline & 255;
6632 md->nl[0] = newline;
6736 newline. Implement this by temporarily adjusting end_subject so that we stop
6737 scanning at a newline. If the match fails at the newline, later code breaks
6802 /* If we have just passed a CR and the newline option is ANY or ANYCRLF,
6988 newline in the subject (though it may continue over the newline). Therefore,
6989 if we have just failed to match, starting at a newline, do not continue. */
7003 not contain any explicit matches for \r or \n, and the newline option is CRLF
7031 (3) PCRE_FIRSTLINE is set and we have failed to match at a newline, because
7032 this option requests that a match occur at or before the first newline in