diff options
Diffstat (limited to 'rigify/rigs/faces/super_face.py')
-rw-r--r-- | rigify/rigs/faces/super_face.py | 4 |
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 ) ] ) |