That would be further work built on top of a destructuring pattern match, and as such is future work (potentially even further into the future). I also discussed extended (and breaking) regex syntax a little here: [Pitch] Regex Syntax - #27 by Michael_Ilseman, where <...>
could be used for interpolation or bindings.
1 Like