I have IBS. Before pregnancy it was triggered by certain foods as well as extreme stress/anxiety. I didn't have any problems with it during pregnancy, in fact I had no symptoms at all, and since I've had the baby I've been able to drink coffee again - yay!