I'm not sure if adding extensions to awk is something you want to do, but I find having support for capturing groups in match useful, so I've added it here: https://github.com/pstibrany/goawk/commit/45fd318ecad5eaa3a0e98c60f40aaf89e29716b8
It is based on Gawk extension (described at https://www.gnu.org/software/gawk/manual/html_node/String-Functions.html), although I didn't do "start" and "length" subscripts described there, as I didn't know how :-)
I'm not sure if adding extensions to awk is something you want to do, but I find having support for capturing groups in match useful, so I've added it here: https://github.com/pstibrany/goawk/commit/45fd318ecad5eaa3a0e98c60f40aaf89e29716b8
It is based on Gawk extension (described at https://www.gnu.org/software/gawk/manual/html_node/String-Functions.html), although I didn't do "start" and "length" subscripts described there, as I didn't know how :-)