Skip to content

Commit

Permalink
Fix bug in TextHelper with table
Browse files Browse the repository at this point in the history
  • Loading branch information
toshiakit committed Apr 19, 2023
1 parent 4d6079f commit 2726b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/TextHelper.m
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
end

% define table pattern
tblpat = lineBoundary+"| "+wildcardPattern(1,Inf)+" |"+lineBoundary;
tblpat = lineBoundary + "|" + (" "|"-") + wildcardPattern(1,Inf) + (" "|"-") + "|" + lineBoundary;
% extract table
tblstr = extract(str,tblpat);
% table is not found, exit
Expand Down

0 comments on commit 2726b29

Please sign in to comment.