Re: [Geany-devel] Bug#561276: geany does not escape '\\' in replace string

2009-12-28 Thread Ximin Luo
Enrico Tröger wrote: > I had a short look at your examples but to be honest for me this is > just not that important. I surely can find more corner cases where the > one or the other regexp/special character combination won't work. > Either you write a patch to make things better or you maybe just

Re: [Geany-devel] Bug#561276: geany does not escape '\\' in replace string

2009-12-28 Thread Enrico Tröger
On Thu, 17 Dec 2009 08:44:24 +, Ximin wrote: Hi, >> I had a short look at your examples but to be honest for me this is >> just not that important. I surely can find more corner cases where >> the one or the other regexp/special character combination won't work. >> Either you write a patch to

Re: [Geany-devel] Bug#561276: geany does not escape '\\' in replace string

2009-12-16 Thread Enrico Tröger
On Wed, 16 Dec 2009 13:06:42 +, Ximin wrote: >Damián Viano wrote: >>> In "try to replace me with \t", with Find = "me": >> >> This is the result with: >> "Use regular expressions" ON >> "Use escape sequences"OFF >> >>> Replace = "\t" replaces "me" with a tab >>> Replace = "\\t" replaces

Re: [Geany-devel] Bug#561276: geany does not escape '\\' in replace string

2009-12-16 Thread Ximin Luo
Damián Viano wrote: >> In "try to replace me with \t", with Find = "me": > > This is the result with: > "Use regular expressions" ON > "Use escape sequences"OFF > >> Replace = "\t" replaces "me" with a tab >> Replace = "\\t" replaces "me" with a backslash followed by a tab >> Replace = "\\\t"

Re: [Geany-devel] Bug#561276: geany does not escape '\\' in replace string

2009-12-16 Thread Damián Viano
[CCing geany devel list, using the address I'm subscribed with to avoid moderation] On Tue, Dec 15, 2009 at 10:45:25PM +, Ximin Luo wrote: > Damián Viano wrote: > > I used a text file with (created with echo 'try to replace me \t' > > >test_file): > > > > try to replace me \t > > > > [snip