regex_matches returns a string array : {first match, second match}. How do I access the elements within it? I have tried:
regex_matches('mystring', 'my string pattern')[0]
regex_matches('mystring', 'my string pattern') as url[0]
regex_matches('mystring', 'my string pattern') as url, url[0]
Nothing works. Do I really need to do a string function to replace the two braces? That seems pretty clunky