From 2726b297ab03a4817dd2425a1db3314954737f32 Mon Sep 17 00:00:00 2001 From: Toshiaki Takeuchi Date: Wed, 19 Apr 2023 09:53:09 -0400 Subject: [PATCH] Fix bug in TextHelper with table --- helpers/TextHelper.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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