From f13f187497d2de3b5ccf904a52eca8aba231d75c Mon Sep 17 00:00:00 2001 From: "Dan S. Camper" Date: Thu, 2 May 2024 07:40:33 -0500 Subject: [PATCH] Correct Unicode regression introduced in 1.9.4 --- Profile.ecl | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Profile.ecl b/Profile.ecl index 65643ed..877d1e0 100644 --- a/Profile.ecl +++ b/Profile.ecl @@ -617,7 +617,7 @@ EXPORT Profile(inFile, #UNIQUENAME(_MapUpperCharUni); LOCAL %_MapUpperCharUni%(UNICODE s) := REGEXREPLACE(u'\\p{Lu}', s, u'A'); #UNIQUENAME(_MapLowerCharUni); - LOCAL %_MapLowerCharUni%(UNICODE s) := REGEXREPLACE(u'[[\\p{Ll}][\\p{Lt}][\\p{Lm}][\\p{Lo}]]', s, u'a'); + LOCAL %_MapLowerCharUni%(UNICODE s) := REGEXREPLACE(u'[\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}]', s, u'a'); #UNIQUENAME(_MapDigitUni); LOCAL %_MapDigitUni%(UNICODE s) := REGEXREPLACE(u'[1-9]', s, u'9'); // Leave '0' as-is and replace with '9' later #UNIQUENAME(_MapAllUni); diff --git a/README.md b/README.md index dc7ee08..dcf1bbc 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ level, such as within your "My Files" folder. |1.9.2|Security updates| |1.9.3|Better identify upper- and lower-case Unicode characters in text patterns; scan Unicode and UTF-8 strings to see if they can be represented with a STRING data type instead| |1.9.4|README fixes and updates; improve UTF-8 detection and prevent buffer overruns during character scans; use short form of Unicode property names in regex| -|1.9.5|| +|1.9.5|Correct Unicode regex regression introduced in 1.9.4| ---