1BSON_ITER_REGEX(3) libbson BSON_ITER_REGEX(3)
2
3
4
6 const char *
7 bson_iter_regex (const bson_iter_t *iter, const char **options);
8
10 • iter: A bson_iter_t.
11
12 • options: A (null).
13
15 The bson_iter_regex() function shall retrieve the contents of a
16 BSON_TYPE_REGEX element currently observed by iter.
17
18 It is invalid to call this function when not observing an element of
19 type BSON_TYPE_REGEX.
20
22 A string containing the regex which should not be modified or freed.
23 options is set to the options provided for the regex.
24
26 MongoDB, Inc
27
29 2017-present, MongoDB, Inc
30
31
32
33
341.25.1 Nov 08, 2023 BSON_ITER_REGEX(3)