From: David Lawrence Ramsey Date: Mon, 18 Oct 2004 02:17:18 +0000 (+0000) Subject: add missing line X-Git-Tag: v1.3.5~121 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=cbc13a2a62f39ee4646f23abf24db320b5c89326;p=nano.git add missing line git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1999 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/utils.c b/src/utils.c index 8ad9a83d..602e7a21 100644 --- a/src/utils.c +++ b/src/utils.c @@ -48,6 +48,7 @@ int regexp_bol_or_eol(const regex_t *preg, const char *string) { return (regexec(preg, string, 0, NULL, 0) == 0 && regexec(preg, string, 0, NULL, REG_NOTBOL | REG_NOTEOL) == + REG_NOMATCH); } #endif /* HAVE_REGEX_H */