Diff of /inst/@dataframe/private/df_name2idx.m [caa289] .. [1a207b] Maximize Restore

  Switch to side-by-side view

--- a/inst/@dataframe/private/df_name2idx.m
+++ b/inst/@dataframe/private/df_name2idx.m
@@ -74,7 +74,11 @@
       %# detect | followed by EOL 
       subs{indi} = regexprep (subs{indi}, '([^\\])\|$', "$1\\|");
       if (0 == index (subs{indi}, ':'))
-        for indj = (1:min (length (names), count)) %# sanity check
+	 %# if there's no special operator, make match strict
+	if (isempty (regexp (subs{indi}, '[\.\*\+\?\{\}\(\)\[\]\^\$\\]')))
+	  subs{indi}  = ['\b' subs{indi} '\b'];
+	endif
+	for indj = (1:min (length (names), count)) %# sanity check
           if (~isempty (regexp (names{indj}, subs{indi})))
             idx = [idx indj]; mask(indi) = true;
           endif