commonfields: id: RegexGroups version: -1 name: RegexGroups script: '' type: python tags: - transformer - string comment: "Extraction of elements which are contained in all the subgroups of the match to the pattern.\nFor example, extracting from the string \"The quick brown fox\" the object `{\"article\":\"The\",\"noun\":quick\"}`\n(See arguments descriptions for more details)." enabled: true args: - name: value required: true description: Text to match against, e.g., The quick brown fox. - name: regex required: true description: Regex pattern to search (in Python), e.g., (The)\s(quick).*(fox). - name: groups description: A comma-separate list of capture groups to return, given in integers. If not provided, all capture groups will be returned. - name: keys description: Key names to map to capture group items, ordered by capture groups. Number of keys should be the same as number of groups (Comma-separated values supported) e.g., article,noun. - name: flags description: The comma separated flags for pattern matching in regex. "dotall" (s), "multiline" (m), "ignorecase" (i) and "unicode" (u) are supported. scripttarget: 0 isllm: false subtype: python3 dockerimage: demisto/python3:3.12.13.10404775 runas: DBotWeakRole fromversion: 5.0.0 tests: - RegexGroups Test