summaryrefslogtreecommitdiff
path: root/logilab/common/textutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'logilab/common/textutils.py')
-rw-r--r--logilab/common/textutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/logilab/common/textutils.py b/logilab/common/textutils.py
index b988c7a..b0f59d5 100644
--- a/logilab/common/textutils.py
+++ b/logilab/common/textutils.py
@@ -136,7 +136,7 @@ def unquote(string: str) -> str:
_BLANKLINES_RGX = re.compile("\r?\n\r?\n")
-_NORM_SPACES_RGX = re.compile("\s+")
+_NORM_SPACES_RGX = re.compile(r"\s+")
def normalize_text(text: str, line_len: int = 80, indent: str = "", rest: bool = False) -> str: