On 7/25/23 4:06 PM, Grisha Levit wrote:
On Mon, Jul 24, 2023 at 10:12 AM Chet Ramey <chet.ra...@case.edu> wrote:

On 7/20/23 7:52 PM, Grisha Levit wrote:

I wonder if you'd be interested in changes
to the function that would skip escaping ASCII characters that aren't
glob-special as well.  I _think_ it would just be a slight variation
of the code that already does this for regexes but I haven't thought
about the edge cases carefully yet.

I agree that it would only be a slight variation on that code, and so I
added that case. It will be in the next devel branch push.

Re latest changes in [1], we need to preserve quoting also for any of
the following characters, at least if they are in a bracket
expression:
! - . : = ^

Why not just quote them all the time and not try to determine whether or
not they're part of a bracket expression?

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/


Reply via email to