Dear Shawn,
Shawn Wagner wrote:
- n = regcomp( exp, pat, 0 );
+ n = regcomp( exp, pat, use_extended_re ? REG_EXTENDED : 0 );
Thank you for the patch. POSIX states[1] that "The ed utility shall support
basic regular expressions, as described in XBD Basic Regular Expressions",
but yours looks like a nice extension that could be even eventually
standardized by POSIX. I'll implement it ASAP and will publish a new release.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ed.html
BTW, there is no public repository for GNU ed. Patches are a rare occurrence
here.
Best regards,
Antonio.