SHA256
6
0
forked from pool/grep

- update to 3.10:

* With -P, \d now matches only ASCII digits, regardless of
    PCRE options/modes. The changes in grep-3.9 to make  and \w
    work properly had the undesirable side effect of making \d
    also match e.g., the Arabic digits: ٠١٢٣٤٥٦٧٨٩.  
    With grep-3.9, -P '\d+' would match that ten-digit (20-byte)
    string. Now, to match such a digit, you would use \p{Nd}.
    Similarly, \D is now mapped to [^0-9].

OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=132
This commit is contained in:
2023-03-30 07:45:04 +00:00
committed by Git OBS Bridge
parent 0399a5ce73
commit 5820abc816
6 changed files with 32 additions and 20 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Mar 30 07:41:18 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.10:
* With -P, \d now matches only ASCII digits, regardless of
PCRE options/modes. The changes in grep-3.9 to make  and \w
work properly had the undesirable side effect of making \d
also match e.g., the Arabic digits: ٠١٢٣٤٥٦٧٨٩.
With grep-3.9, -P '\d+' would match that ten-digit (20-byte)
string. Now, to match such a digit, you would use \p{Nd}.
Similarly, \D is now mapped to [^0-9].
-------------------------------------------------------------------
Mon Mar 6 09:28:35 UTC 2023 - Andreas Schwab <schwab@suse.de>