backreferencing is new to me, but why this:
(...).*(...)
isn't working !! ain't I back referencing the first group which is (...) ?
isn't working !! ain't I back referencing the first group which is (...) ?
You're reusing the regex and not the match. Back referencing essentially means that you'll match whatever is matched the first time, rather than reusing the regex pattern.
I hope that made a little sense. Grouping, capturing, matching and backreferences is part of what makes regex tricky and very powerful. You might want to use some of the online tools, which can help explain the regex visually.