The input string, list or dictionary. If it is a list or a dictionary then the search will be done on all values.
The regex to use for extraction: see extract(), if not defined the value of the mode
parameter will be used to define it automatically.
Defines the automatic extraction regex to use if extract
is not defined:
right
(default): automatically extracts the text located on the right of the searched text with the following regex: search
+ *(?:[:=] *)?(.+?) *$
left
: automatically retrieves the text located on the left of the searched text with the following regex : ` *(.+?) *` + `search` >
search
: Use the same regex defined in search
.
Regex flags to use. Several flags can be used by concatenating them. Default: ism
.
i
= Case insensitive
s
= Match .
to any character, including newlines.
m
= Multi-line matching, affecting ^
and $
.