The Cup finals in 2011 also ended with Thomas earning the Conn Smythe trophy.
"It'll be interesting, but you know what, I don't know how things are going to work out, but assuming I'm staying in Florida, it'll be interesting," Thomas said. "I'm looking forward to it. It'll be fun."
Thomas stressed that he does not consider Luongo an enemy.
"No, not at all," Thomas said. "I wasn't an enemy with him even [in 2011]. I was so focused on playing and doing my job and that's the way I was looking at it. So, yeah, we're both pros, both been in the league a long time. I have a few more years on him, obviously, but we both have a lot of experience to bring to the team."
Luongo, who signed a 12-year extension in 2009 in a deal paying him about $64 million through 2022, had been expected to start for Vancouver in Phoenix on Tuesday night. A few hours before that game would have started, he posted a palm tree icon on his Twitter feed.
The message was simple: He's going home, or at least to the place he has long considered home.
A three-time All-Star, the 34-year-old Luongo spent five seasons earlier in his career with the Panthers.
Matthias, 26, had nine goals and seven assists in 59 games this season for the Panthers.
Markstrom, 24, is 1-6-3 with a 3.52 GAA in 12 games this season. He was a second-round pick in the 2008 draft.
The Panthers also traded defenseman Mike Weaver to Montreal for a fifth-round draft choice in 2015.
Information from ESPN The Magazine's Craig Custance, ESPNNewYork.com's Katie Strang, ESPN.com's Pierre LeBrun, ESPNBoston.com's Joe McDonald and The Associated Press was used in this report.