Python: Disable use of toUnicode

until supporting CLI is released
This commit is contained in:
Rasmus Lerchedahl Petersen
2021-06-30 12:21:52 +02:00
parent b684434a58
commit 6dfbf80494

View File

@@ -473,9 +473,11 @@ class RegExpEscape extends RegExpNormalChar {
* E.g. for `\u0061` this returns "a".
*/
private string getUnicode() {
exists(int codepoint | codepoint = sum(getHexValueFromUnicode(_)) |
result = codepoint.toUnicode()
)
// TODO: Enable this once a supporting CLI is released.
// exists(int codepoint | codepoint = sum(getHexValueFromUnicode(_)) |
// result = codepoint.toUnicode()
// )
none()
}
/**