Jim Meyering c83ffc197e grep: -P (--perl-regexp) \d: match only ASCII digits
Prior to grep-3.9, the PCRE matcher had always treated \d just
like [0-9]. grep-3.9's fix for \w and \b mistakenly relaxed \d
to also match multibyte digits.
* src/grep.c (P_MATCHER_INDEX): Define enum.
(pcre_pattern_expand_backslash_d): New function.
(main): Call it for -P.
* NEWS (Bug fixes): Mention it.
* doc/grep.texi: Document it: with -P, \d matches only ASCII digits.
Provide a PCRE documentation URL and an example of how
to use (?s) with -z.
* tests/pcre-ascii-digits: New test.
* tests/Makefile.am (TESTS): Add that file name.
Reported as https://bugs.gnu.org/62267
2023-03-18 17:08:09 -07:00
..
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2022-05-21 18:43:42 -07:00
bre
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2014-05-10 01:25:36 -07:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2016-11-29 11:00:55 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2014-04-11 12:50:51 -07:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2012-02-13 00:28:37 -08:00
ere
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2016-11-28 14:17:07 -08:00
2021-08-16 10:12:29 -07:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2016-10-01 17:54:11 -07:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-15 16:38:56 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
1998-11-03 21:38:52 +00:00
1998-11-03 21:38:52 +00:00
2023-01-01 20:36:23 -08:00
2023-01-16 01:19:41 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2021-11-10 18:24:17 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-16 01:19:41 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2014-09-12 09:04:33 -07:00
2023-01-14 02:06:25 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
1998-11-03 21:38:52 +00:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2018-04-21 13:47:28 -07:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00
2023-01-01 20:36:23 -08:00