Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew STUBBS <andrew.stubbs@st.com>
To: GDB List <gdb@sourceware.org>
Subject: Testsuite regular expressions.
Date: Tue, 25 Jul 2006 12:22:00 -0000	[thread overview]
Message-ID: <44C609DE.2080803@st.com> (raw)

I've just noticed that there seems to be a 'problem' with many of the 
testsuite regular expression patterns.

All through the testsuite, and particularly in help.exp, the tests 
contain \. (an escaped period) in the match pattern. This would appear 
to indicate that the pattern should match a period, not just any 
character, but, in fact, the escape is processed by the TCL string 
parser, and all the regular expression parser sees is the period. Other 
characters, such as brackets, are 'escaped' with two slashes.

This is probably not a serious issue, but I do wonder if it perhaps 
would be better to sort it out.

Andrew


             reply	other threads:[~2006-07-25 12:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-25 12:22 Andrew STUBBS [this message]
2006-07-25 15:39 ` Daniel Jacobowitz
2006-08-02 18:13   ` Jim Blandy

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=44C609DE.2080803@st.com \
    --to=andrew.stubbs@st.com \
    --cc=gdb@sourceware.org \
    /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