• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/lib/pcre/

Lines Matching refs:newline

48 #define NLBLOCK md             /* Block containing newline information */
2088 /* Multiline mode: start of subject unless notbol, or after any newline. */
2112 /* Multiline mode: assert before any newline, or before end of subject
2140 /* Not multiline mode: assert before a terminating newline or before end of
2302 /* Match any single character type except newline; have to take care with
2335 any byte, even newline, independent of the setting of PCRE_DOTALL. */
6363 int newline;
6608 /* Handle different types of newline. The three bits give eight cases. If
6614 case 0: newline = NEWLINE; break; /* Compile-time default */
6615 case PCRE_NEWLINE_CR: newline = CHAR_CR; break;
6616 case PCRE_NEWLINE_LF: newline = CHAR_NL; break;
6618 PCRE_NEWLINE_LF: newline = (CHAR_CR << 8) | CHAR_NL; break;
6619 case PCRE_NEWLINE_ANY: newline = -1; break;
6620 case PCRE_NEWLINE_ANYCRLF: newline = -2; break;
6624 if (newline == -2)
6628 else if (newline < 0)
6635 if (newline > 255)
6638 md->nl[0] = (newline >> 8) & 255;
6639 md->nl[1] = newline & 255;
6644 md->nl[0] = newline;
6749 newline. Implement this by temporarily adjusting end_subject so that we stop
6750 scanning at a newline. If the match fails at the newline, later code breaks
6815 /* If we have just passed a CR and the newline option is ANY or ANYCRLF,
7001 newline in the subject (though it may continue over the newline). Therefore,
7002 if we have just failed to match, starting at a newline, do not continue. */
7016 not contain any explicit matches for \r or \n, and the newline option is CRLF
7044 (3) PCRE_FIRSTLINE is set and we have failed to match at a newline, because
7045 this option requests that a match occur at or before the first newline in