Patch from Charles Steinkuehler <charles@steinkuehler.net>
to properly handle extended regexps for egrep
This commit is contained in:
parent
3d61b10595
commit
ccd96f1972
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user