nightmare vs regret

nightmare

noun
  • Any bad, miserable, difficult or terrifying situation or experience that arouses anxiety, terror, agony or great displeasure. 

  • A very bad or frightening dream. 

  • A feeling of extreme anxiety or suffocation experienced during sleep; Sleep paralysis. 

verb
  • To have a nightmare. 

regret

noun
  • Emotional pain on account of something done or experienced in the past, with a wish that it had been different; a looking back with dissatisfaction or with longing. 

  • The amount of avoidable loss that results from choosing the wrong action. 

verb
  • To feel sorry about (a thing that has or has not happened), afterthink: to wish that a thing had not happened, that something else had happened instead. 

  • To feel sorry about (any thing). 

How often have the words nightmare and regret occurred in a corpus of books? (source: Google Ngram Viewer )