diff --git a/doc/mjwarp/update_types.py b/doc/mjwarp/update_types.py index 316b2d2e..88eec3da 100644 --- a/doc/mjwarp/update_types.py +++ b/doc/mjwarp/update_types.py @@ -68,7 +68,7 @@ def process_file(filepath): print(f'Error: Could not find {filepath}', file=sys.stderr) return - new_content = re.sub(r'array\(([^)]+)\)', replace_array_calls, content) + new_content = re.sub(r'(?