On Mon, Jul 24, 2023 at 10:12 AM Chet Ramey <chet.ramey@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:
! - . : = ^