This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] quoting curly braces in call-rt-st
Michael Snyder wrote:
>
> Fernando Nasser wrote:
> >
> > "H . J . Lu" wrote:
> > >
> > > On Mon, Jul 09, 2001 at 04:37:54PM -0400, Fernando Nasser wrote:
> > > > Michael Snyder wrote:
> > > > >
> > > > > Using double-backslash to quote curly braces in regular expressions
> > > > > seems so satisfy the largest subset of versions of expect.
> > > > >
> > > >
> > > > If I understand right, Michael claims his double-backslashed version works with both incarnations of expect regexps. So, we have a perfectly valid pattern which is more robust (works independently of the expect version).
> > > >
> > > > I think we should make this change anyway.
> > > >
> > >
> > > See
> > >
> > > http://gcc.gnu.org/ml/gcc-patches/2001-07/msg00034.html
> > > http://gcc.gnu.org/ml/gcc-patches/2000-09/msg00353.html
> > >
> > > H.J.
> >
> > Thank you H.J.
> >
> > Folks, we may want to do the same on other test files...
>
> By "do the same", do you mean "use double backslash to quote "{"/"}"?
> If so, I agree with you.
Yes.
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9