summaryrefslogtreecommitdiff
path: root/doc/API
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-11-20 20:10:53 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-11-20 20:10:53 +0100
commit5fc8746a80a7bc6fe88845e1aae3a69903d21cdb (patch)
treee59de9241eef0f0ecb27038f7c85df6619309999 /doc/API
parentc9281d179754ffffe24ba9a718d2c4f2e1b4bd5e (diff)
parent35e13e4c9637f5bf7bef6039c8c813207780a174 (diff)
Update upstream source from tag 'upstream/6.9.9'
Update to upstream version '6.9.9' with Debian dir 5b0f8b561f5675106115901f41e387c12471c40a
Diffstat (limited to 'doc/API')
-rw-r--r--doc/API8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/API b/doc/API
index 30e9a26..600aa96 100644
--- a/doc/API
+++ b/doc/API
@@ -1,4 +1,4 @@
-Oniguruma API Version 6.9.7 2021/03/03
+Oniguruma API Version 6.9.9 2022/10/28
#include <oniguruma.h>
@@ -366,6 +366,8 @@ Oniguruma API Version 6.9.7 2021/03/03
The user_data specified by onig_set_callout_user_data_of_match_param()
will be shared with callout.
+ ONIG_OPTION_MATCH_WHOLE_STRING Try to match the whole of (str), rather than returning after the first match is found.
+
# int onig_search_with_param(regex_t* reg, const UChar* str, const UChar* end,
const UChar* start, const UChar* range, OnigRegion* region,
@@ -407,7 +409,7 @@ Oniguruma API Version 6.9.7 2021/03/03
ONIG_OPTION_NOT_END_STRING Do not regard the (end) as a string endpoint (* fail \z, \Z)
ONIG_OPTION_NOT_BEGIN_POSITION Do not regard the (start) as start position of search (* fail \G)
ONIG_OPTION_CALLBACK_EACH_MATCH Call back for all successful matches.
-
+ ONIG_OPTION_MATCH_WHOLE_STRING Try to match the whole of (str), rather than returning after the first match is found.
# int onig_match_with_param(regex_t* reg, const UChar* str, const UChar* end,
const UChar* at, OnigRegion* region,
@@ -641,7 +643,7 @@ Oniguruma API Version 6.9.7 2021/03/03
return value
normal: number of groups for the name.
(ex. /(?<x>..)(?<x>..)/ ==> 2)
- name not found: -1
+ name not found: ONIGERR_UNDEFINED_NAME_REFERENCE
arguments
1 reg: regex object.