https://bugs.winehq.org/show_bug.cgi?id=29685
--- Comment #7 from Damjan Jovanovic damjan.jov@gmail.com --- The sad state of how different XML implementations handle "$" in the input string:
| Regex in XSD's xs:pattern Implementation | $ | $ -----------------+-------------------+----------------- libxml2 | Error | Validates Java | Validates | Validates .NET Core 3 | Validates | Error Mono | Validates | Error MSXML6 (Windows) | Validates | Validates
It's possible the developers of ecmangen were motivated to use "$" due to the fact it works on both .NET and MSXML.