mirror of
https://github.com/github/codeql.git
synced 2026-05-11 17:59:29 +02:00
make the RegExpEscape::getUnescaped predicate public in python
This commit is contained in:
@@ -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".
|
||||
|
||||
Reference in New Issue
Block a user