[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Possible regression in grep 3.10
From: |
Felix Yan |
Subject: |
Possible regression in grep 3.10 |
Date: |
Thu, 30 Mar 2023 13:37:38 +0300 |
Hello,
I noticed a possible regression in the update of grep 3.9 -> 3.10:
"\d" inside a square bracket [] no longer matches against ASCII digits.
3.9:
$ echo 123 | grep -P '[\d]'
123
3.10:
$ echo 123 | grep -P '[\d]'
This effectively broke my scripts, and doesn't seem to be mentioned in
the changelog (which only covers multibyte digits).
--
Regards,
Felix Yan
OpenPGP_signature
Description: OpenPGP digital signature
- Possible regression in grep 3.10,
Felix Yan <=