We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mode_from_mode_object
1 parent 2942a11 commit cac6c4aCopy full SHA for cac6c4a
python/ql/src/semmle/python/regex.qll
@@ -97,6 +97,11 @@ private DataFlow::Node re_flag_tracker(string flag_name) {
97
/** Gets a regular expression mode flag associated with the given data flow node. */
98
string mode_from_node(DataFlow::Node node) { node = re_flag_tracker(result) }
99
100
+/**
101
+ * DEPRECATED 2021-02-24 -- use `mode_from_node` instead.
102
+ *
103
+ * Gets a regular expression mode flag associated with the given value.
104
+ */
105
deprecated string mode_from_mode_object(Value obj) {
106
(
107
result = "DEBUG" or
0 commit comments