From cbc13a2a62f39ee4646f23abf24db320b5c89326 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 18 Oct 2004 02:17:18 +0000 Subject: [PATCH] add missing line git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1999 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/utils.c | 1 + 1 file changed, 1 insertion(+) 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 */