Skip to content
Permalink
Browse files

Avoid deprecated regex

Avoid invalid escape sequence via raw string:

`re.compile('^[^\s\(]+')` > `re.compile(r'^[^\s\(]+')`
  • Loading branch information
tomchadwin authored and nyalldawson committed Jun 5, 2018
1 parent fab563f commit 9780068548f13365a5f023a6054e5a4a967b134a
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/grass7/Grass7Algorithm.py
@@ -105,7 +105,7 @@ def __init__(self, descriptionfile):
self._short_description = ''
self._group = ''
self._groupId = ''
self.groupIdRegex = re.compile('^[^\s\(]+')
self.groupIdRegex = re.compile(r'^[^\s\(]+')
self.grass7Name = ''
self.params = []
self.hardcodedStrings = []

0 comments on commit 9780068

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