From: Thomas Roessler Date: Mon, 16 Oct 2000 17:29:55 +0000 (+0000) Subject: nl_langinfo({YES,NO}EXPR) may return an _extended_ regular X-Git-Tag: mutt-1-3-11-rel~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b92df70d092d73574294535bb5eac48a7cd7d29;p=mutt nl_langinfo({YES,NO}EXPR) may return an _extended_ regular expression. Close #312. --- diff --git a/curs_lib.c b/curs_lib.c index 8d5b03e8..081d64dc 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -161,9 +161,9 @@ int mutt_yesorno (const char *msg, int def) answer[1] = 0; reyes_ok = (expr = nl_langinfo (YESEXPR)) && expr[0] == '^' && - !regcomp (&reyes, expr, REG_NOSUB); + !regcomp (&reyes, expr, REG_NOSUB|REG_EXTENDED); reno_ok = (expr = nl_langinfo (NOEXPR)) && expr[0] == '^' && - !regcomp (&reno, expr, REG_NOSUB); + !regcomp (&reno, expr, REG_NOSUB|REG_EXTENDED); #endif CLEARLINE(LINES-1);