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: Michael Snyder <msnyder at cygnus dot com>
- Subject: Re: [PATCH] quoting curly braces in call-rt-st
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Mon, 09 Jul 2001 16:37:54 -0400
- CC: gdb-patches at sources dot redhat dot com, fnasser at cygnus dot com
- Organization: Red Hat , Inc. - Toronto
- References: <3B411440.1691E1E5@cygnus.com>
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.
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9