Diff of /inst/@dataframe/private/df_name2idx.m [afaced] .. [591ef1] Maximize Restore

  Switch to unified view

a/inst/@dataframe/private/df_name2idx.m b/inst/@dataframe/private/df_name2idx.m
...
...
67
      if (isempty (subs{indi})) continue; endif
67
      if (isempty (subs{indi})) continue; endif
68
      %# convert  from standard pattern to regexp pattern
68
      %# convert  from standard pattern to regexp pattern
69
      subs{indi} = regexprep (subs{indi}, '([^\.\\])(\*|\?)', "$1.$2");
69
      subs{indi} = regexprep (subs{indi}, '([^\.\\])(\*|\?)', "$1.$2");
70
      %# quote repetition ops at begining of line, otherwise the regexp
70
      %# quote repetition ops at begining of line, otherwise the regexp
71
      %# will stall forever/fail
71
      %# will stall forever/fail
72
      subs{indi} = regexprep (subs{indi}, \
72
      subs{indi} = regexprep (subs{indi}, ...
73
                              '^([\*\+\?\{\}\|])', "\\$1");
73
                              '^([\*\+\?\{\}\|])', "\\$1");
74
      %# detect | followed by EOL 
74
      %# detect | followed by EOL 
75
      subs{indi} = regexprep (subs{indi}, '([^\\])\|$', "$1\\|");
75
      subs{indi} = regexprep (subs{indi}, '([^\\])\|$', "$1\\|");
76
      if (0 == index (subs{indi}, ':'))
76
      if (0 == index (subs{indi}, ':'))
77
     %# if there's no special operator, make match strict
77
     %# if there's no special operator, make match strict