Skip to content
Permalink
Browse files

Mark regex

  • Loading branch information
nyalldawson committed Jun 22, 2018
1 parent 398e2a1 commit 6e7c07bc86763c37f7ecf9935d8052b6b76f1ea3
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/ui/RasterCalculatorWidgets.py
@@ -86,7 +86,7 @@ def __init__(self, expression, options):
self.filledExpression = None
self.options = options
self.expression = expression
self.variables = set(re.findall('\[.*?\]', expression))
self.variables = set(re.findall(r'\[.*?\]', expression))
self.comboBoxes = {}
for variable in self.variables:
label = QLabel(variable[1:-1])

0 comments on commit 6e7c07b

Please sign in to comment.
You can’t perform that action at this time.