From d2fa84ee69e3741412afae466bf65454c85bea2b Mon Sep 17 00:00:00 2001 From: Jim DeFabia Date: Wed, 10 Apr 2024 10:16:30 -0400 Subject: [PATCH] HPCC-31369 Document move to PCRE2 regex library Signed-off-by: Jim DeFabia --- .../ECLR_mods/BltInFunc-REGEXFIND.xml | 6 +++--- .../ECLR_mods/BltInFunc-REGEXFINDSET.xml | 9 ++++++--- .../ECLR_mods/BltInFunc-REGEXREPLACE.xml | 6 +++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/docs/EN_US/ECLLanguageReference/ECLR_mods/BltInFunc-REGEXFIND.xml b/docs/EN_US/ECLLanguageReference/ECLR_mods/BltInFunc-REGEXFIND.xml index aaa12e9d202..ed04a13c6db 100644 --- a/docs/EN_US/ECLLanguageReference/ECLR_mods/BltInFunc-REGEXFIND.xml +++ b/docs/EN_US/ECLLanguageReference/ECLR_mods/BltInFunc-REGEXFIND.xml @@ -67,9 +67,9 @@ expression Perl regular expression . We use third-party libraries to support this, so for - non-unicode text, see boost docs at http://www.boost.org/doc/libs/1_58_0/libs/regex/doc/html/index.html. - Note that the version of Boost library may vary depending on your distro. + non-unicode text, see the Perl-compatible Regular + Expressions (PCRE2) documentation at https://www.pcre.org/current/doc/html/pcre2pattern.html. For unicode text, see the ICU docs, the sections 'Regular Expression Metacharacters' and 'Regular Expression Operators' at Perl regular expression . We use third-party libraries to support this, so for - non-unicode text, see boost docs at http://www.boost.org/doc/libs/1_58_0/libs/regex/doc/html/index.html. - Note that the version of Boost library may vary depending on your distro. + non-unicode text, see the Perl-compatible Regular + Expressions (PCRE2) documentation at https://www.pcre.org/current/doc/html/pcre2pattern.html. For unicode text, see the ICU docs, the sections 'Regular Expression Metacharacters' and 'Regular Expression Operators' at http://userguide.icu-project.org/strings/unicodeset. We use version 2.6 which should support all listed features. + REGEXFINDSET ignores capture groups. REGEXFINDSET repeatedly extracts + the text matching the entire regex pattern. + Example: sampleStr := diff --git a/docs/EN_US/ECLLanguageReference/ECLR_mods/BltInFunc-REGEXREPLACE.xml b/docs/EN_US/ECLLanguageReference/ECLR_mods/BltInFunc-REGEXREPLACE.xml index 85e22e89490..638d7e6ddb8 100644 --- a/docs/EN_US/ECLLanguageReference/ECLR_mods/BltInFunc-REGEXREPLACE.xml +++ b/docs/EN_US/ECLLanguageReference/ECLR_mods/BltInFunc-REGEXREPLACE.xml @@ -65,9 +65,9 @@ expression Perl regular expression . We use third-party libraries to support this, so for - non-unicode text, see boost docs at http://www.boost.org/doc/libs/1_58_0/libs/regex/doc/html/index.html. - Note that the version of Boost library may vary depending on your distro. + non-unicode text, see the Perl-compatible Regular + Expressions (PCRE2) documentation at https://www.pcre.org/current/doc/html/pcre2pattern.html. For unicode text, see the ICU docs, the sections 'Regular Expression Metacharacters' and 'Regular Expression Operators' at