We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 24ff197 + 566a629 commit fc03e9aCopy full SHA for fc03e9a
1 file changed
check.m
@@ -307,7 +307,7 @@ function print_script_stats(script_stats, indentation)
307
mlintInfo = mlintInfo(strcmp({mlintInfo.id}, 'CABE'));
308
mlintInfo = mlintInfo([mlintInfo.line] == func_struct.body(1).line);
309
assert(length(mlintInfo) == 1);
310
- pattern = 'The McCabe complexity of ''(?<f>[^'']+)'' is (?<n>[0-9]+)';
+ pattern = '''(?<f>[^'']+)'' is (?<n>[0-9]+)';
311
matches = regexp(mlintInfo.message, pattern, 'names');
312
func_stats.complexity = str2double(matches.n);
313
end
0 commit comments