diff --git a/helpers/TextHelper.m b/helpers/TextHelper.m index 83cd31f..dff8ac7 100644 --- a/helpers/TextHelper.m +++ b/helpers/TextHelper.m @@ -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