Can abdominal pain during early pregnancy be caused by irritable bowel syndrome?

Can you answer Worried’s question about IBS?:

I just found out that I am pregnant, but I am getting cramps. I am worried that it may be an ectopic pregnancy. I miscarried 4 years ago due to IBS so I am wondering if the pain is irritable bowel syndrome again.

Ibs Constipation Relief