Regex.IsMatch( \"foo\", \"[\\U00010000-\\U0010FFFF]\" )
Throws: System.ArgumentException: parsing \"[-]\" - [x-y] range in reverse order.
@Jon Skeet
So what you are telling me is that there is not a way to use the Regex tools in .net to match on chars outside of the utf-16 range?
The full regex is:
^(\u0009|[\u0020-\u007E]|\u0085|[\u00A0-\uD7FF]|[\uE000-\uFFFD]|[\U00010000-\U0010FFFF])+$
I am attempting to check if a string only contains what a yaml document defines as printable Unicode chararters.