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