Skip to content

Commit

Permalink
Merge pull request #11 from toshiakit/Hotfix_patch
Browse files Browse the repository at this point in the history
Fix bug in TextHelper with table
  • Loading branch information
toshiakit authored Apr 19, 2023
2 parents c0cce75 + 2726b29 commit 6215eaf
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 6215eaf

Please sign in to comment.