This is the mail archive of the
mailing list for the GDB project.
Testsuite regular expressions.
- From: Andrew STUBBS <andrew dot stubbs at st dot com>
- To: GDB List <gdb at sourceware dot org>
- Date: Tue, 25 Jul 2006 13:09:02 +0100
- Subject: Testsuite regular expressions.
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.