summaryrefslogtreecommitdiff
path: root/tools/indent.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/indent.py')
-rwxr-xr-x[-rw-r--r--]tools/indent.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/indent.py b/tools/indent.py
index 560c13c77d..91bb23f67c 100644..100755
--- a/tools/indent.py
+++ b/tools/indent.py
@@ -13,7 +13,7 @@ define_re = re.compile(
re.M | re.S)
# find clang-format control that we just inserted
clean_re = re.compile(
- r'^/\* \$FRR indent\$ \*/\s*\n\s*/\* clang-format (on|off) \*/\s*\n',
+ r'^.*/\* \$FRR indent\$ \*/\s*\n\s*/\* clang-format (on|off) \*/\s*\n',
re.M)
def wrap_file(fn):