summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--findutils/grep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/findutils/grep.c b/findutils/grep.c
index 7cd8196..eeab163 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -246,6 +246,7 @@ extern int grep_main(int argc, char **argv)
#ifdef CONFIG_FEATURE_GREP_EGREP_ALIAS
if (strcmp (basename (argv[0]), "egrep") == 0)
reflags |= REG_ICASE;
+ reflags |= REG_EXTENDED;
#endif
/* do normal option parsing */