[Top] [All Lists]

Re: [nmh-workers] Stupid 'pick' question...

2019-06-08 04:52:02
    Date:        Sat, 08 Jun 2019 08:45:17 +0100
    From:        Ralph Corderoy <ralph@inputplus.co.uk>
    Message-ID:  <20190608074517.A58602020E@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 '^'.



<Prev in Thread] Current Thread [Next in Thread>