regexp.findString() function
*Output data type: String*
*Data type: Regexp*
v
*Data type: String*
Examples
Find the first regular expression match in each row
import "regexp"
|> map(fn: (r) => ({
r with
match: regexp.findString(r: r.regexp, v: r.message)
})
)