How broadly are similarities considered duplicates?
Not broadly.
My rule of thumb is, if two questions have the same answer, then they are duplicates.
Pedants love to point out exceptions to this rule. Oh, they will say, what if one question asks "What is 22 + 20?" and another question asks "What is the answer to life, the universe, and everything?" Both of those questions would have the same answer—42—but are they duplicates? Um, no. Rules of thumb are not replacements for using your brain.
But this "same answer" rule of thumb is surprisingly accurate, and very powerful. It means that the questions don't have to be identical, as long as they cover the same ground and have the same answers. This means that, for example, a question about using a feature in a particular framework/API in the context of Delphi can be a duplicate of a question about using that same feature in the context of C. The framework/API feature is the same; it doesn't matter whether you're calling it from C or Delphi. We only need a separate question if there are nuances of invoking that feature from Delphi that don't apply to C. And a Delphi expert would know that; that's why we give gold tag badge holders the ability to single-handedly mark duplicates.
Regex is a slightly unusual case, though, because most of the "questions" we get about regular expressions are "Can someone write me a regex that does the following?", which is only formally a question. And usually, they're not even phrased in the form of questions. They're presented as problem statements. That tends to get tiresome for the experts whom we have answering regular expressions questions, so they will look for a canonical question to mark those "give-me-teh-codez" questions as a duplicate of.
This works well in most cases. The canonical questions generally have high-quality answers, and this is consistent with our mission of creating a library of high-quality answers to specific programming problems.
It could be called the "teach a person to a fish" approach, which is a lot more reusable and versatile. Plenty of other people in the future are going to have problems that can be solved with the use of back references, and will therefore benefit from comprehensive answers explaining how to leverage them. A lot fewer people are going to have a need to write exactly the same regex as the person who happened to ask this particular question.
It can also be seen as merely a practical way of dealing with an influx of tiring and exhausting questions that all cover exactly the same ground. It's the same reason we have a canonical "What is a NullReferenceException, and how do I debug it?" question: it frees the experts from having to write a bunch of hyper-specific answers to a hundred different people's unique problems that are all broadly the same.
It doesn't hold the reader's hand, but it does give them useful information and ultimately leads them to the solution.
It also isn't perfect, and in some cases, isn't appropriate. This is, again, why we give gold tag badge holders the ability to single-handedly re-open questions that are marked as duplicates. If you see something unique in a question that you feel—in your expert opinion—is not adequately addressed by the duplicate, then you should re-open it and post an answer highlighting those differences.
TL;DR: Marking a question as a duplicate is ultimately a judgment call, and that's why we require either a consensus (5 trusted users) or a proven expert (gold tag badge holder) to make the call.