Skip to content

Commit

Permalink
Merge pull request #18521 from JamesDeFabia/HPCC-31369PCRE2_Docs
Browse files Browse the repository at this point in the history
HPCC-31369 Document move to PCRE2 regex library

Reviewed-By: Dan S. Camper <[email protected]>
Merged-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday authored Apr 11, 2024
2 parents 3b808d4 + d2fa84e commit d1c054b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
expression<indexterm>
<primary>Perl regular expression</primary>
</indexterm>. We use third-party libraries to support this, so for
non-unicode <emphasis>text</emphasis>, see boost docs at <ulink
url="http://www.boost.org/doc/libs/1_58_0/libs/regex/doc/html/index.html">http://www.boost.org/doc/libs/1_58_0/libs/regex/doc/html/index.html</ulink>.
Note that the version of Boost library may vary depending on your distro.
non-unicode <emphasis>text</emphasis>, see the Perl-compatible Regular
Expressions (PCRE2) documentation at <ulink
url="https://www.pcre.org/current/doc/html/pcre2pattern.html">https://www.pcre.org/current/doc/html/pcre2pattern.html</ulink>.
For unicode <emphasis>text</emphasis>, see the ICU docs, the sections
'Regular Expression Metacharacters' and 'Regular Expression Operators' at
<emphasis
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
expression<indexterm>
<primary>Perl regular expression</primary>
</indexterm>. We use third-party libraries to support this, so for
non-unicode <emphasis>text</emphasis>, see boost docs at <ulink
url="http://www.boost.org/doc/libs/1_58_0/libs/regex/doc/html/index.html">http://www.boost.org/doc/libs/1_58_0/libs/regex/doc/html/index.html</ulink>.
Note that the version of Boost library may vary depending on your distro.
non-unicode <emphasis>text</emphasis>, see the Perl-compatible Regular
Expressions (PCRE2) documentation at <ulink
url="https://www.pcre.org/current/doc/html/pcre2pattern.html">https://www.pcre.org/current/doc/html/pcre2pattern.html</ulink>.
For unicode <emphasis>text</emphasis>, see the ICU docs, the sections
'Regular Expression Metacharacters' and 'Regular Expression Operators' at
<emphasis
Expand All @@ -67,6 +67,9 @@
role="underline">http://userguide.icu-project.org/strings/unicodeset</emphasis>.
We use version 2.6 which should support all listed features.</para>

<para>REGEXFINDSET ignores capture groups. REGEXFINDSET repeatedly extracts
the text matching the entire <emphasis>regex</emphasis> pattern.</para>

<para>Example:</para>

<programlisting lang="ECL" role="runnable">sampleStr :=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
expression<indexterm>
<primary>Perl regular expression</primary>
</indexterm>. We use third-party libraries to support this, so for
non-unicode <emphasis>text</emphasis>, see boost docs at <ulink
url="http://www.boost.org/doc/libs/1_58_0/libs/regex/doc/html/index.html">http://www.boost.org/doc/libs/1_58_0/libs/regex/doc/html/index.html</ulink>.
Note that the version of Boost library may vary depending on your distro.
non-unicode <emphasis>text</emphasis>, see the Perl-compatible Regular
Expressions (PCRE2) documentation at <ulink
url="https://www.pcre.org/current/doc/html/pcre2pattern.html">https://www.pcre.org/current/doc/html/pcre2pattern.html</ulink>.
For unicode <emphasis>text</emphasis>, see the ICU docs, the sections
'Regular Expression Metacharacters' and 'Regular Expression Operators' at
<emphasis
Expand Down

0 comments on commit d1c054b

Please sign in to comment.