Skip to content

Commit 6e7c07b

Browse files
committedJun 22, 2018
Mark regex
1 parent 398e2a1 commit 6e7c07b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/qgis/ui/RasterCalculatorWidgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def __init__(self, expression, options):
8686
self.filledExpression = None
8787
self.options = options
8888
self.expression = expression
89-
self.variables = set(re.findall('\[.*?\]', expression))
89+
self.variables = set(re.findall(r'\[.*?\]', expression))
9090
self.comboBoxes = {}
9191
for variable in self.variables:
9292
label = QLabel(variable[1:-1])

0 commit comments

Comments
 (0)
Please sign in to comment.