So far, I've been crossing my fingers and relying on the robustness of my regex to grab the page name from text. If bold quotes (''') don't exist around it at the beginning of a line, there is a problem. Sometimes, though rarely, even if they exist, there is a problem. The best examples I can give are the plethora of minor planet (asteroid) pages, which sometimes use the {{mp}} template within bold quotes, sometimes not, sometimes for the entire name, sometimes only in part. This creates a very long, complicated search pattern that has to account for many, many exceptions.
Grabbing a page's name shouldn't be this complicated, nor ambiguous; it should be easy.