Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#78055 - [grep] v3.10 PCRE regression
Attached to Project:
Arch Linux
Opened by binhex (binhex) - Thursday, 30 March 2023, 16:32 GMT
Last edited by Sébastien Luttringer (seblu) - Monday, 15 May 2023, 20:42 GMT
Opened by binhex (binhex) - Thursday, 30 March 2023, 16:32 GMT
Last edited by Sébastien Luttringer (seblu) - Monday, 15 May 2023, 20:42 GMT
|
DetailsDescription:
grep v3.10 is broken when attempting to match non digit characters in a string Additional info: * package version(s) 3.10 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: # The below should result in a match of 'dev tun', instead for grep v3.10 this results in no match, # if you downgrade grep to 3.9 or 3.8 (other older versions may also work - untested) then grep # matches and the output 'dev tun' is shown as expected. echo 'dev tun123' | grep -P -o -m 1 '[^\d]+' |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Monday, 15 May 2023, 20:42 GMT
Reason for closing: Upstream
Additional comments about closing: fixed 3.11
Monday, 15 May 2023, 20:42 GMT
Reason for closing: Upstream
Additional comments about closing: fixed 3.11
[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62552
```
echo "abcd" | grep -P "^[a-z\\d]*$"
```
I can see this break multiple bash script silently so may need a higher priority. One think I know broken is PiHole add custom dns function.
[1] https://lists.gnu.org/r/bug-grep/2023-04/msg00001.html
[1] https://git.savannah.gnu.org/cgit/grep.git/commit/?id=c63a0950ff852c94e27d14b6d0eea001eddb7de1
[2] https://git.savannah.gnu.org/cgit/grep.git/commit/?id=8d3afeebcc2bdf2e8fd4ed1c5256e54be95f36a1