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
- To: Fernando Nasser <fnasser at cygnus dot com>
- Subject: Re: [PATCH] quoting curly braces in call-rt-st
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Mon, 9 Jul 2001 13:42:13 -0700
- Cc: Michael Snyder <msnyder at cygnus dot com>,gdb-patches at sources dot redhat dot com
- References: <3B411440.1691E1E5@cygnus.com> <3B4A1622.20873CAD@cygnus.com>
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.