This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] quoting curly braces in call-rt-st


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]