Altova MapForce 2026 Enterprise Edition

Extracts the options (as an xs:string) from a BSON regex value.

MF_Func_Lib_BSON_RegexFunc1

Options

The following options are supported:

 

i (Case-insensitive): Matches both upper- and lowercase letters (e.g., A matches a).

m (Multiline): Makes anchors ^ and $ match the start and end of each line, rather than the start and end of the entire string.

s (Dotall): Allows the dot (.) character to match everything, including newline characters.

u (Unicode): Enables Unicode support for shorthand character classes like \w (word characters) and \d (digits).

x (Verbose): Ignores whitespace within the pattern and allows for comments (starting with #), which makes complex patterns easier to read.

 

Languages

Built-in

 

Parameters

Name

Type

Description

regex

bson:regex

The BSON regex value from which the options are extracted.

 

© 2020-2026 Altova GmbH