SAN FRANCISCO (Reuters) - Facebook Inc will expand its pattern recognition software to other countries after successful tests in the U.S. to detect users with suicidal intent, the world's largest social media network said on Monday.