Lines Matching defs:yesexpr
36 /* defaults - C locale values for yesstr, nostr, yesexpr (LC_MESSAGES) */
47 if (yesexpr) \
48 free(yesexpr); \
55 yesexpr = DEFAULT_YESEXPR; \
62 /* for regcomp()/regexec() yesexpr and noexpr */
79 char *yesexpr;
85 yesexpr = strdup(nl_langinfo(YESEXPR));
89 yesexpr == NULL || noexpr == NULL) {
97 *yesexpr == '\0' || *noexpr == '\0') {
103 while (regcomp(&preg_yes, yesexpr, REG_EXTENDED | REG_NOSUB) != 0 ||
106 /* The fallback yesexpr failed, so exit */
110 /* The locale's yesexpr or noexpr failed so use fallback */
157 * yes_check() returns 1 if the input string is matched by yesexpr and is
168 * not matched by yesexpr; otherwise no_check() returns 0.