Matthew Perry not only regrets insulting Keanu Reeves in his new book — he’s pulling Reeves’ 

name out of future editions of “Friends, Lovers, and the Big Terrible Thing,” Perry’s memoir of his long struggle with substance abuse and addiction.

Perry shared news of the revision at the Los Angeles Times Festival of Books, addressing a capacity crowd at USC’s Bovard

 Auditorium on Saturday afternoon during a panel moderated by Matt Brennan, The Times’ deputy editor for arts and entertainment.

“I said a stupid thing. It was a mean thing to do,” Perry said, referring to his lament in the book that former co-stars River Phoenix and Chris Farley had died while Reeves “walks among us.”

“I pulled his name because I live on the same street,” Perry said. “I’ve apologized publicly to him.

 Any future versions of the book will not have his name in it.”

He said he hadn’t apologized in person to Reeves, but added: “If I run into the guy, I’ll apologize. It was just stupid.”

During a candid conversation with Brennan, Perry told stories that made the audience laugh

but he didn’t shrink from relating a harrowing experience with drugs that came very close to killing him. He also offered a reassessment of the show that made him famous.

John Wick: Chapter 4 Star Keanu Reeves & Girlfriend Alexandra Grant’s