I want my ex back but should I bother?

I was dating this guy for over a year. We moved in together. I was 23 when we met and he was 27. We broke up recently. He said its because he didn't see a future based on difference of religion and how we want to raise kids. Those were never issues before and we have no children. I still love him and he says he still loves me. Do I try to get him back or leave him alone. We never had issues in the relationship and I was unaware these were issues that were bothering him until after we broke up.

What do I do?