use toUnicode in RegexTreeView

This commit is contained in:
Erik Krogh Kristensen
2021-09-02 13:49:32 +02:00
parent 4adb0c75bd
commit 8535e6f281
2 changed files with 7 additions and 3 deletions

View File

@@ -458,9 +458,10 @@ class RegExpEscape extends RegExpNormalChar {
or
this.getUnescaped() = "t" and result = "\t"
or
// TODO: Find a way to include a formfeed character
// this.getUnescaped() = "f" and result = " "
// or
this.getUnescaped() = "f" and result = 12.toUnicode()
or
this.getUnescaped() = "v" and result = 11.toUnicode()
or
isUnicode() and
result = getUnicode()
}