There's quite a long list of herbs you shouldn't use in pregnancy.
However bear in mind that they mean used in a medical sense - so taken regularly.
So, basil for example is on the list as it's an "emmenagogue" (can make your period come). But what they mean is don't drink several cups of basil tea a day every day! Easting yummy basil on your pasta / salad is not going to make any difference!
Here are some of the more well known ones from a random link I found online! (I haven't checked the reliability of the info!)
Here's the full list
Aloe too stong of a laxative; an emmenagogue; teratogens
Angelica stimulates suppressed menstruation; can cause uterine contractions
Arnica strong uterine stimulants
Basil Emmenagogue
Castor Oil teratogen
Cayenne stimulate muscle, including the uterus, possibly causing miscarriage.
Chicory strong uterine stimulants
Coffee avoid caffeine, as it irritates the uterus; excessive amounts in some sensitive individuals can cause premature birth or miscarriage
Comfrey can cause liver problems in mother and fetus - use only briefly, externally only, for treating sprains and strains; strong uterine stimulants
Cotton Root
Elder do not use during pregnancy or lactation
Eucalyptus oil This oil should be avoided during pregnancy as it is difficult to eliminate through the kidneys
Fennel stimulate muscle, including the uterus, possibly causing miscarriage.
Fenugreek uterine relaxant
Feverfew brings on contractions or bleeding
Flax seed teratogen; stimulate muscle, including the uterus, possibly causing miscarriage.
Ginseng teratogen
Goldenseal too powerful an antibiotic for the developing fetus, also should not be used if nursing ;abortive
stimulants
Licorice Steroid; stimulate muscle, including the uterus, possibly causing miscarriage.
Licorice Root can create water retention and/or elevated blood pressure
Parsley dries up milk
Passion Flower stimulate muscle, including the uterus, possibly causing miscarriage.
Rosemary strong uterine stimulants
Saffron can cause miscarriage and other problems
Sage teratogen; stimulate muscle, including the uterus, possibly causing miscarriage.
Sarsaparilla
Wild Ginger an emmenagogue that causes uterine contractions.