Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Testsuite regular expressions.
@ 2006-07-25 12:22 Andrew STUBBS
  2006-07-25 15:39 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew STUBBS @ 2006-07-25 12:22 UTC (permalink / raw)
  To: GDB List

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-02 18:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-25 12:22 Testsuite regular expressions Andrew STUBBS
2006-07-25 15:39 ` Daniel Jacobowitz
2006-08-02 18:13   ` Jim Blandy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox