From 62e729501c8f889af65d84b2d7c2336fe636c015 Mon Sep 17 00:00:00 2001 From: Erik Krogh Kristensen Date: Tue, 26 Oct 2021 15:21:48 +0200 Subject: [PATCH] make the `RegExpEscape::getUnescaped` predicate public in python --- python/ql/lib/semmle/python/RegexTreeView.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ql/lib/semmle/python/RegexTreeView.qll b/python/ql/lib/semmle/python/RegexTreeView.qll index a9880cab18d..8d2a59b5fa3 100644 --- a/python/ql/lib/semmle/python/RegexTreeView.qll +++ b/python/ql/lib/semmle/python/RegexTreeView.qll @@ -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".