I'm a bit surprised something like this wasn't added years ago when various
sed implementations started getting ERE support, as it seems like an
obvious enhancement, but the only existing version I've found with it is
NetBSD's ed. Nobody ever remembers the standard editor, sigh.



On Sun, Jul 19, 2020, 8:01 AM Martin Guy <martinw...@gmail.com> wrote:

> Wow! So much from so little!
> Let's hope the maintainer agrees!
>
>     M
>
> On 19/07/2020, Shawn Wagner <shawnw.mob...@gmail.com> wrote:
> > The attached patch (Made against 1.17-pre1; is there a public git or
> other
> > revision control system repository for GNU ed? I didn't see anything on
> the
> > savannah page) adds a grep-inspired -E switch to use EREs instead of BREs
> > (So you don't have to hope the underlying regcomp/regexec implementation
> > supports BRE extensions like \|).
> >
>

Reply via email to