This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix a bug in tstatus.exp matching tstatus output


> In gdb testsuite, both "\\\(" and "\\(" are used.  After reading
> section "4.3. Backslashes" in book "Exploring Expect", I think they
> are the same on effect.

I don't understand why the third backslash would be needed, though.
The first two is the backslash escaping the '(' character in the
regular expression. The third one escapes the '(' as the TCL string
level, but I don't think it is a special character (like '[' is,
for instance), is it?

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]