diff options
-rw-r--r-- | editors/sed.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/sed.c b/editors/sed.c index 31fb103ec..e18e48ab5 100644 --- a/editors/sed.c +++ b/editors/sed.c | |||
@@ -381,7 +381,7 @@ static int parse_subst_cmd(sed_cmd_t *sed_cmd, const char *substr) | |||
381 | 381 | ||
382 | /* | 382 | /* |
383 | * A substitution command should look something like this: | 383 | * A substitution command should look something like this: |
384 | * s/match/replace/ #gIpw | 384 | * s/match/replace/ #giIpw |
385 | * || | ||| | 385 | * || | ||| |
386 | * mandatory optional | 386 | * mandatory optional |
387 | */ | 387 | */ |
@@ -429,6 +429,7 @@ static int parse_subst_cmd(sed_cmd_t *sed_cmd, const char *substr) | |||
429 | break; | 429 | break; |
430 | } | 430 | } |
431 | /* Ignore case (gnu exension) */ | 431 | /* Ignore case (gnu exension) */ |
432 | case 'i': | ||
432 | case 'I': | 433 | case 'I': |
433 | cflags |= REG_ICASE; | 434 | cflags |= REG_ICASE; |
434 | break; | 435 | break; |