bug-ed
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] ed with perl-compatible regular expressions


From: Shawn Wagner
Subject: [PATCH] ed with perl-compatible regular expressions
Date: Wed, 21 Jul 2021 20:09:53 -0700

One of the options I mentioned in a prior email about getting
case-insensitive REs in ed was to support a more sophisticated flavor
of regular expression. This is the fruit of that idea.

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.

It also adds some tests for ed -E and ed -P, and mentions both in the
regular expression section of the texi documentation.

Attachment: pcre2.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]