You can broadcast getproperty like so
getproperty.(match.(r"[0-9]*",test.s1), :match)
Another alternative is to define a function
getmatch(x) = x.match
getmatch.(match.(r"[0-9]*",test.s1))
You can broadcast getproperty like so
getproperty.(match.(r"[0-9]*",test.s1), :match)
Another alternative is to define a function
getmatch(x) = x.match
getmatch.(match.(r"[0-9]*",test.s1))