Regular or not, you had a period, which indicated you were not pregnant at the time.
Even if my periods are not regular?
If you had sex before your period and then had a period and then had sex after the period and now you are pregnant, it would be the guy after the period. A period indicates you are not pregnant.