Dear Shawn,
Shawn Wagner wrote:
The attached patch (Made against 1.18-pre2) adds a -P option to use
PCRE2 regular expressions. Passing --disable-pcre2 to the configure
script will leave this feature out. There's also a --utf8 option that
turns on PCRE2's advanced Unicode matching.
Thank you for sharing this patch (and the revised version).
If I understand the situation correctly, ed is mostly of historical
interest. Therefore my two priorities are keeping it bug-free and minimizing
the maintenance effort. I'm afraid this patch goes against these two goals.
If there were a consensus among ed users that this feature is useful, I
would happily look into this, but I have not yet seen enough demand for such
a radical change.
Best regards,
Antonio.