Regex group question

I’ve resolved this myself - this post got me there.

I’ve discovered the Advanced Regex plugin doesn’t work like this - by using the built-in Pattern Match step it works as described in both posted articles.