Saw my ex for the first time

My ex and i broke up back in October and i saw him for the first time tonight. I was leaving a restaurant with my friends as he was walking in. We looked at each other and he didn’t even acknowledge me. Thought someone i spent two years with would’ve at least said hi, feels like a slap in the face :(