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
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
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
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"
[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
On Tue, Dec 15, 2009 at 09:12:25PM +, Ximin Luo wrote:
> Geany does not escape "\\" if it occurs in the replacement string in "Find and
> Replace", regardless of whether "Use escape sequences" is checked. This means
> that it's impossible to correctly replace something with a string that
> con
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
>
> And replaced "me" with \t, if "Use escape sequences" was not checked it
> inserted a literal \t, else it inserted a tab. Using \\t and "Use escape
> sequences" it
come to think of it, why doesn't geany just link against libpcre, instead of
trying to implement its own regexp engine? it doesn't even support the '?'
operator...
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...
Package: geany
Version: 0.18-1
Severity: normal
Geany does not escape "\\" if it occurs in the replacement string in "Find and
Replace", regardless of whether "Use escape sequences" is checked. This means
that it's impossible to correctly replace something with a string that contains
the literal '
9 matches
Mail list logo