Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Yao Qi <yao@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Fix a bug in tstatus.exp matching tstatus output
Date: Mon, 04 Mar 2013 16:23:00 -0000	[thread overview]
Message-ID: <20130304162248.GB4472@adacore.com> (raw)
In-Reply-To: <1362411345-22308-1-git-send-email-yao@codesourcery.com>

> 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


  reply	other threads:[~2013-03-04 16:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-04 15:37 Yao Qi
2013-03-04 16:23 ` Joel Brobecker [this message]
2013-03-04 17:35   ` Tom Tromey
2013-03-05  2:24   ` Yao Qi
2013-03-05 19:09     ` Pedro Alves
2013-03-04 16:32 ` Pedro Alves
2013-03-05  2:39   ` Yao Qi
2013-03-05 19:02     ` tstatus.exp: use UNSUPPORTED for optional features that are not supported (was: Re: [PATCH] Fix a bug in tstatus.exp matching tstatus output) Pedro Alves
2013-03-06  1:14       ` tstatus.exp: use UNSUPPORTED for optional features that are not supported Yao Qi
2013-03-06 12:19         ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130304162248.GB4472@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=yao@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox