Add in grep -E support
diff --git a/findutils/grep.c b/findutils/grep.c
index 7afa817..faecb58 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -253,6 +253,9 @@
#ifdef CONFIG_FEATURE_GREP_CONTEXT
"A:B:C:"
#endif
+#ifdef CONFIG_FEATURE_GREP_EGREP_ALIAS
+"E"
+#endif
)) > 0) {
switch (opt) {
case 'i':
@@ -285,6 +288,11 @@
case 'e':
add_regex(optarg);
break;
+#ifdef CONFIG_FEATURE_GREP_EGREP_ALIAS
+ case 'E':
+ reflags |= REG_EXTENDED;
+ break;
+#endif
case 'f':
load_regexes_from_file(optarg);
break;