Lines Matching refs:syntax

985   printf ("syntax: %d\n", bufp->syntax);
1048 re_set_syntax (syntax) in re_set_syntax() argument
1049 reg_syntax_t syntax; in re_set_syntax()
1053 re_syntax_options = syntax;
1858 regex_compile (pattern, size, syntax, bufp) in regex_compile() argument
1861 reg_syntax_t syntax;
1945 bufp->syntax = syntax;
2001 || syntax & RE_CONTEXT_INDEP_ANCHORS
2003 || at_begline_loc_p (pattern, p, syntax))
2016 || syntax & RE_CONTEXT_INDEP_ANCHORS
2018 || at_endline_loc_p (p, pend, syntax))
2028 if ((syntax & RE_BK_PLUS_QM)
2029 || (syntax & RE_LIMITED_OPS))
2036 if (syntax & RE_CONTEXT_INVALID_OPS)
2038 else if (!(syntax & RE_CONTEXT_INDEP_OPS))
2065 || (!(syntax & RE_BK_PLUS_QM) && (c == '+' || c == '?')))
2068 else if (syntax & RE_BK_PLUS_QM && c == '\\')
2123 && !(syntax & RE_DOT_NEWLINE))
2195 && (syntax & RE_HAT_LISTS_NOT_NEWLINE))
2209 if ((syntax & RE_BACKSLASH_ESCAPE_IN_LISTS) && c == '\\')
2242 syntax & RE_CHAR_CLASSES && c == '[' && *p == ':')
2374 if (syntax & RE_NO_EMPTY_RANGES)
2419 if (syntax & RE_NO_BK_PARENS)
2426 if (syntax & RE_NO_BK_PARENS)
2433 if (syntax & RE_NEWLINE_ALT)
2440 if (syntax & RE_NO_BK_VBAR)
2447 if (syntax & RE_INTERVALS && syntax & RE_NO_BK_BRACES)
2464 if (syntax & RE_NO_BK_PARENS)
2513 if (syntax & RE_NO_BK_PARENS) goto normal_backslash;
2516 if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
2536 if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
2579 if (syntax & RE_LIMITED_OPS || syntax & RE_NO_BK_VBAR)
2582 if (syntax & RE_LIMITED_OPS)
2625 if (!(syntax & RE_INTERVALS)
2628 || ((syntax & RE_INTERVALS) && (syntax & RE_NO_BK_BRACES))
2643 if (syntax & RE_NO_BK_BRACES)
2663 if (syntax & RE_NO_BK_BRACES)
2669 if (!(syntax & RE_NO_BK_BRACES))
2678 if (syntax & RE_NO_BK_BRACES)
2689 if (syntax & RE_CONTEXT_INVALID_OPS)
2691 else if (syntax & RE_CONTEXT_INDEP_OPS)
2785 if (!(syntax & RE_NO_BK_BRACES))
2863 if (syntax & RE_NO_BK_REFS)
2882 if (syntax & RE_BK_PLUS_QM)
2922 || ((syntax & RE_BK_PLUS_QM)
2925 || ((syntax & RE_INTERVALS)
2926 && ((syntax & RE_NO_BK_BRACES)
2971 if (syntax & RE_NO_POSIX_BACKTRACKING)
3101 at_begline_loc_p (pattern, p, syntax) in at_begline_loc_p() argument
3103 reg_syntax_t syntax;
3110 (*prev == '(' && (syntax & RE_NO_BK_PARENS || prev_prev_backslash))
3112 || (*prev == '|' && (syntax & RE_NO_BK_VBAR || prev_prev_backslash));
3120 at_endline_loc_p (p, pend, syntax) in at_endline_loc_p() argument
3122 int syntax;
3130 (syntax & RE_NO_BK_PARENS ? *next == ')'
3133 || (syntax & RE_NO_BK_VBAR ? *next == '|'
3399 if (!(bufp->syntax & RE_DOT_NEWLINE))
4602 if ((!(bufp->syntax & RE_DOT_NEWLINE)
4604 || ((bufp->syntax & RE_DOT_NOT_NULL)
6178 unsigned syntax local
6213 syntax &= ~RE_DOT_NEWLINE;
6214 syntax |= RE_HAT_LISTS_NOT_NEWLINE;
6225 ret = regex_compile (pattern, strlen (pattern), syntax, preg);