diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-10-28 12:52:11 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-10-28 17:08:37 +0200 |
commit | 6dc01f74431a40dac698417d2947f0d8ddbd8c8c (patch) | |
tree | 069adb6512873012e60ebb601157a8d270bc4ed6 /doc/manual.cli | |
parent | ebc6dcfe9e7eb7aeddeff808c1c0498508183263 (diff) |
Make $regex.*search() functions not to match empty substrings in non empty strings
Diffstat (limited to 'doc/manual.cli')
-rw-r--r-- | doc/manual.cli | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/manual.cli b/doc/manual.cli index e16b0fa..8beb4ea 100644 --- a/doc/manual.cli +++ b/doc/manual.cli @@ -6128,8 +6128,9 @@ source <functions-target.cli>; The \c{$regex.*()} function family contains function that provide comprehensive regular expression matching and substitution facilities. The -supported regular expression flavor is ECMAScript (more specifically, -ECMA-262-based C++11 regular expressions). +supported regular expression flavor is ECMAScript, more precisely, +ECMA-262-based C++11 regular expressions. Note that the \c{match_not_null} +flag is in effect unless the string being matched is empty. In the \c{$regex.*()} functions the substitution escape sequences in the format string (the \ci{fmt} argument) are extended with a subset of the Perl |