make the RegExpEscape::getUnescaped predicate public in python

This commit is contained in:
Erik Krogh Kristensen
2021-10-26 15:21:48 +02:00
parent 97264b5dda
commit 62e729501c

View File

@@ -481,7 +481,7 @@ class RegExpEscape extends RegExpNormalChar {
override string getPrimaryQLClass() { result = "RegExpEscape" }
/** Gets the part of the term following the escape character. That is e.g. "w" if the term is "\w". */
private string getUnescaped() { result = this.getText().suffix(1) }
string getUnescaped() { result = this.getText().suffix(1) }
/**
* Gets the text for this escape. That is e.g. "\w".