Lines Matching defs:delimiter
344 * Get a delimited string. P points to the delimiter of the string; d points
345 * to a buffer area. Newline and delimiter escapes are processed; other
348 * Returns a pointer to the first character after the final delimiter or NULL
361 error("\\ can not be used as a string delimiter");
363 error("newline can not be used as a string delimiter");
366 /* Unescaped delimiter: We are done. */
372 /* Escaped delimiter: Skip the backslash. */
392 * It may contain the delimiter without escaping.
432 * Get a regular expression. P points to the delimiter of the regular
434 * and delimiter escapes are processed; other escapes are ignored.
435 * Returns a pointer to the first character after the final delimiter
616 char delimiter, check[UCHAR_MAX + 1];
620 delimiter = *old;
621 if (delimiter == '\\')
622 error("\\ can not be used as a string delimiter");
623 else if (delimiter == '\n' || delimiter == '\0')
624 error("newline can not be used as a string delimiter");
628 if ((new = strchr(new + 1, delimiter)) == NULL)
634 if ((end = strchr(end + 1, delimiter)) == NULL)
649 else if (*old != delimiter && *old != '\\')
656 else if (*new != delimiter && *new != '\\')