Skip to content

Commit 62e7295

Browse files
committed
make the RegExpEscape::getUnescaped predicate public in python
1 parent 97264b5 commit 62e7295

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/lib/semmle/python/RegexTreeView.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ class RegExpEscape extends RegExpNormalChar {
481481
override string getPrimaryQLClass() { result = "RegExpEscape" }
482482

483483
/** Gets the part of the term following the escape character. That is e.g. "w" if the term is "\w". */
484-
private string getUnescaped() { result = this.getText().suffix(1) }
484+
string getUnescaped() { result = this.getText().suffix(1) }
485485

486486
/**
487487
* Gets the text for this escape. That is e.g. "\w".

0 commit comments

Comments
 (0)