Can you get pregnant 10 days before period?

If someone was to have unprotected sex 10-11 days before their period, and there periods are pretty regular could they get pregnant?