I’m trying (again) to clean garbage characters from xml.
According to java - An invalid XML character (Unicode: 0xc) was found - Stack Overflow I can clean my xml with a pattern of
which should be
theRegex.searchpattern = "[^\\x{0009}\\x{000A}\\x{000D}\\x{0020}-\\x{D7FF}\\x{E000}-\\x{FFFD}\\x{10000}-\\x{10FFF}]+"
in Xojo. The search pattern works fine in RegexX but gives me the above exception when running in Xojo. What do I do wrong?
Xojo 2018r3, macOS 10.13.6.