Date: Sat, 08 Jun 2019 08:45:17 +0100 From: Ralph Corderoy <ra...@inputplus.co.uk> Message-ID: <20190608074517.a586020...@orac.inputplus.co.uk>
| Bakul answered about the anchors. Maybe it would be possible to look for a leading ^ in the user's pattern (for other than -search), and if found, remove it, and replace the ".*" that's inserted into the RE with "[ \t]*" ? That would, I suspect, be more useful, and more in accordance with what users might expect to happen. Certainly no-one who uses a leading ^ is expecting it to attempt to match a literal '^'. kre -- nmh-workers https://lists.nongnu.org/mailman/listinfo/nmh-workers