[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60690: -P '\d' in GNU and git grep
From: |
Junio C Hamano |
Subject: |
bug#60690: -P '\d' in GNU and git grep |
Date: |
Tue, 04 Apr 2023 12:31:51 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Paul Eggert <eggert@cs.ucla.edu> writes:
> This is an evolving area. Git master is fiddling with flags and
> options, and so is GNU grep master, and so is PCRE2, and there are
> bugs. If you're running bleeding-edge versions of this code you'll get
> different behavior than if you're running grep 3.8, pcregrep 8.45,
> Perl 5.36, and git 2.39.2 (which is what Fedora 37 has).
>
> What I'm fearing is that we may evolve into mutually incompatible
> interpretations of how Perl regular expressions deal with UTF-8
> text. That'd be a recipe for confusion down the road.
Nicely said. My personal inclination is to let Perl folks decide
and follow them (even though I am skeptical about the wisdom of
letting '\d' match anything other than [0-9]), but even in Git
circle there would be different opinions, so I am glad that the
discussion is visible on the list to those who are intrested.
- bug#60690: -P '\d' in GNU and git grep, Paul Eggert, 2023/04/03
- bug#60690: -P '\d' in GNU and git grep, Jim Meyering, 2023/04/03
- bug#60690: -P '\d' in GNU and git grep, Carlo Arenas, 2023/04/04
- bug#60690: -P '\d' in GNU and git grep, Paul Eggert, 2023/04/04
- bug#60690: -P '\d' in GNU and git grep,
Junio C Hamano <=
- bug#60690: -P '\d' in GNU and git grep, Paul Eggert, 2023/04/05
- bug#60690: -P '\d' in GNU and git grep, Paul Eggert, 2023/04/05
- bug#60690: -P '\d' in GNU and git grep, Junio C Hamano, 2023/04/05
- bug#60690: -P '\d' in GNU and git grep, Jim Meyering, 2023/04/05
- bug#60690: -P '\d' in GNU and git grep, Paul Eggert, 2023/04/05
- bug#60690: -P '\d' in GNU and git grep, Carlo Arenas, 2023/04/05
- bug#60690: -P '\d' in GNU and git grep, demerphq, 2023/04/06
- bug#60690: -P '\d' in GNU and git grep, Paul Eggert, 2023/04/07
- bug#60690: -P '\d' in GNU and git grep, demerphq, 2023/04/06
- bug#60690: -P '\d' in GNU and git grep, Paul Eggert, 2023/04/07