From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fernando Nasser To: Michael Snyder Cc: "H . J . Lu" , gdb-patches@sources.redhat.com Subject: Re: [PATCH] quoting curly braces in call-rt-st Date: Wed, 25 Jul 2001 15:41:00 -0000 Message-id: <3B5F4AC3.240B5BAD@cygnus.com> References: <3B411440.1691E1E5@cygnus.com> <3B4A1622.20873CAD@cygnus.com> <20010709134213.B31388@lucon.org> <3B4A2EB6.99615861@cygnus.com> <3B5F498B.57E3CD52@cygnus.com> X-SW-Source: 2001-07/msg00620.html 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