From 7787792e8de901c3d710449e02088a15caac5765 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 8 Nov 2020 06:20:53 -0800 Subject: [PATCH] Fix re usage --- doc/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/build.py b/doc/build.py index 246f25e8..4335232d 100755 --- a/doc/build.py +++ b/doc/build.py @@ -89,8 +89,8 @@ def build_docs(version='dev', **kwargs): fmt::basic_format_arg::handle '''.format(include_dir, doxyxml_dir).encode('UTF-8')) out = re.sub( - out, ".*warning: Member .* of class fmt::detail::.* is not documented.\n", - "") + ".*warning: Member .* of class fmt::detail::.* is not documented.\n", + "", out) print(out) if p.returncode != 0: raise CalledProcessError(p.returncode, cmd)