This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [PATCH v2] Escape paths used in regular expressions


On 02/10/2016 05:47 PM, Zachary T Welch wrote:
> On 02/10/2016 08:46 AM, Pedro Alves wrote:
> ...
>>> 	* gdb.exp (escape_regex_chars): New.
>>
>> Seems like you reinvented string_to_regexp.
> 
> How does this version look?
> 
> 	 *gdb.base/maint.exp: Escape paths used in regular expressions.
> 	* gdb.stabs/weird.exp: Likewise.
> 
> Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>

Looks good.

Thanks,
Pedro Alves


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