[RFC/TESTSUITE] completion.exp
David Carlton
carlton@math.stanford.edu
Wed Apr 9 17:23:00 GMT 2003
On Tue, 8 Apr 2003 19:29:01 -0400, Elena Zannoni <ezannoni@redhat.com> said:
> +# If the directory name contains a '+' we must escape it, adding a backslash.
> +# If not, the test below will fail because it will interpret the '+' as a
> +# regext operator.
> +regsub -all \\+ ${fullsrcdir} \\\+ dirstring
Would it be better to use string_to_regexp instead of regsub? (But
leaving in the comment as an indication of why you're using it.)
David Carlton
carlton@math.stanford.edu
More information about the Gdb-patches
mailing list