Despite an unheralded cast, a budget of just $5 million and a small theatrical release, the film spent almost a year in theaters and earned more than $360 million (inflation-adjusted) at the domestic box office to become the second-highest-earning romantic comedy in history (behind “Pretty Woman”).