--- a/inst/@dataframe/display.m
+++ b/inst/@dataframe/display.m
@@ -131,8 +131,10 @@
               (any (~isna (df._ridx(1:df._cnt(1), ind1)))))
           dummy{2, 1} = [sprintf("_%d", ind1) ; "Nr"];
           dummy{3, 1} = disp (df._ridx(1:df._cnt(1), ind1)); 
-          indi = regexp (dummy{3, 1}, '\b.*\b', 'match', 'dotexceptnewline');
-          if (isempty (resu))
+          indi = regexp (dummy{3, 1}, '\S.*', 'match', 'dotexceptnewline');
+          %# was
+	  %# indi = regexp (dummy{3, 1}, '\b.*\b', 'match', 'dotexceptnewline');
+	  if (isempty (resu))
             resu = strjust (char (dummy{2, 1}, indi), 'right');
           else
             resu = horzcat(resu, vspace, strjust (char (dummy{2, 1}, indi), ...
@@ -143,7 +145,7 @@
             if (any (~isna (df._ridx(1:df._cnt(1), ind1, ind2)))),
               dummy{2, 1} = [sprintf("_%d.%d", ind1, ind2) ; "Nr"];
               dummy{3, 1} = disp (df._ridx(1:df._cnt(1), ind1, ind2)); 
-              indi = regexp (dummy{3, 1}, '\b.*\b', 'match', 'dotexceptnewline');
+              indi = regexp (dummy{3, 1}, '\<.*\>', 'match', 'dotexceptnewline')
               if (isempty (resu)) 
                 resu = strjust (char (dummy{2, 1}, indi), 'right');
               else