mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Avoid deprecated regex
Avoid invalid escape sequence via raw string: `re.compile('^[^\s\(]+')` > `re.compile(r'^[^\s\(]+')`
This commit is contained in:
parent
fab563fe71
commit
9780068548
@ -105,7 +105,7 @@ class Grass7Algorithm(QgsProcessingAlgorithm):
|
||||
self._short_description = ''
|
||||
self._group = ''
|
||||
self._groupId = ''
|
||||
self.groupIdRegex = re.compile('^[^\s\(]+')
|
||||
self.groupIdRegex = re.compile(r'^[^\s\(]+')
|
||||
self.grass7Name = ''
|
||||
self.params = []
|
||||
self.hardcodedStrings = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user