Issue #19138: doctest's IGNORE_EXCEPTION_DETAIL now allows no detail at all.

Grafted from c80083ad142d.
diff --git a/Misc/NEWS b/Misc/NEWS
index 55cdd7e..598c810 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -15,6 +15,10 @@
 Library
 -------
 
+- Issue #19138: doctest's IGNORE_EXCEPTION_DETAIL now allows a match when
+  no exception detail exists (no colon following the exception's name, or
+  a colon does follow but no text follows the colon).
+
 - Issue #16231: Fixed pickle.Pickler to only fallback to its default pickling
   behaviour when Pickler.persistent_id returns None, but not for any other
   false values.  This allows false values other than None to be used as