mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
Mark regex
This commit is contained in:
parent
398e2a17dd
commit
6e7c07bc86
@ -86,7 +86,7 @@ class PredefinedExpressionDialog(BASE_DLG, WIDGET_DLG):
|
||||
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])
|
||||
|
Loading…
x
Reference in New Issue
Block a user