Description: Fix Python3.12 string syntax Bug-Debian: https://bugs.debian.org/1085786 Author: Andreas Tille Last-Update: 2024-06-08 --- a/porechop/misc.py +++ b/porechop/misc.py @@ -258,7 +258,7 @@ def print_table(table, print_dest, align for text, colour_name in sub_colour.items(): row_str = row_str.replace(text, colour(text, colour_name)) if j < row_rows - 1 and UNDERLINE in row_str: - row_str = re.sub('\033\[4m', '', row_str) + row_str = re.sub(r'\033\[4m', '', row_str) if return_str: full_table_str += indenter + row_str + '\n' else: