From 62f5c53eec2713e910e9e3dcf78861b517f91502 Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Tue, 5 Mar 2024 00:46:16 +0200 Subject: [PATCH] [tools] Fixed warning with wrong escape sequence Signed-off-by: Alexander Borsuk --- tools/python/clean_strings_txt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/clean_strings_txt.py b/tools/python/clean_strings_txt.py index 54b09aba13..044693f05e 100755 --- a/tools/python/clean_strings_txt.py +++ b/tools/python/clean_strings_txt.py @@ -61,7 +61,7 @@ def exec_shell(test, *flags): def grep_ios(): logging.info("Grepping iOS...") - grep = "grep -r -I 'L(\|localizedText\|localizedPlaceholder\|NSLocalizedString(' {0}/iphone/*".format( + grep = "grep -r -I 'L(\\|localizedText\\|localizedPlaceholder\\|NSLocalizedString(' {0}/iphone/*".format( OMIM_ROOT) ret = exec_shell(grep) ret = filter_ios_grep(ret)