commit 4061919538066613fda877f4f77f66098631e156
parent e2cd1586e3ca95c3d634d3350e7e00922b1b426e
Author: FRIGN <dev@frign.de>
Date: Tue, 1 Dec 2015 17:02:57 +0100
Remove REG_BASIC flag
This is already the default and is not defined on all systems.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ed.c b/ed.c
@@ -251,7 +251,7 @@ compile()
}
memcpy(buff, bp, len);
buff[len] = '\0';
- if (regcomp(pattern, buff, REG_BASIC))
+ if (regcomp(pattern, buff, 0))
error("incorrect regular expression"); /* TODO: call regerror */
}