Invalid Unicode characters in XML

Published on Tue Mar 01 2022

This pattern matches all the Unicode characters that are not allowed in an XML document. It's based on the Wikipedia article "Valid characters in XML".