Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-12-01 03:05:16 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-12-01 03:05:16 +0300
commita444e8cc19a4353ce35ecdec9bb7894ee73a204a (patch)
tree2caea22db0925f1e068fee7a35bbfe5fe88b46dd /rigify/rigs/faces
parent1d91e8c12a25618c308fcd25108bf36af0f27094 (diff)
Cleanup: quiet character escape warnings
Diffstat (limited to 'rigify/rigs/faces')
-rw-r--r--rigify/rigs/faces/super_face.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rigify/rigs/faces/super_face.py b/rigify/rigs/faces/super_face.py
index 312ecf56..32d013a7 100644
--- a/rigify/rigs/faces/super_face.py
+++ b/rigify/rigs/faces/super_face.py
@@ -71,8 +71,8 @@ class Rig:
# RE pattern match right or left parts
# match the letter "L" (or "R"), followed by an optional dot (".")
# and 0 or more digits at the end of the the string
- left_pattern = 'L\.?\d*$'
- right_pattern = 'R\.?\d*$'
+ left_pattern = r'L\.?\d*$'
+ right_pattern = r'R\.?\d*$'
left = sorted( [ name for name in bones if re.search( left_pattern, name ) ] )
right = sorted( [ name for name in bones if re.search( right_pattern, name ) ] )