Re: Test results for 1.6RC2 rev: 5636M
| От | Erwin Brandstetter |
|---|---|
| Тема | Re: Test results for 1.6RC2 rev: 5636M |
| Дата | |
| Msg-id | 455B5424.4060505@falter.at обсуждение исходный текст |
| Ответ на | Re: Test results for 1.6RC2 rev: 5636M (Dave Page <dpage@postgresql.org>) |
| Ответы |
Re: Test results for 1.6RC2 rev: 5636M
|
| Список | pgadmin-support |
Di Dave!
Testing 1.6.0 rev: 5641
dpage@postgresql.org wrote:
> Erwin Brandstetter wrote:
>> # One more cornercase for "Find and Replace". Try to replace multiple
>> occurrences of 'abc' with 'abcd' and see for yourself ..
>> Seems like "Replace" continues the search at the _beginning_ of the
>> newly inserted text. If the search string is included in the replace
>> string, we end up in an endless loop.
>> Might be easy to fix by continuing the search _after_ the replaced
>> string. ("Find" seems to do it right.)
>
> OK, got that one.
Almost. :) You nailed the case abc -> abcd. But you missed the case abc
-> dabc.
Looks like you continue to search one character after beginn of replaced
text. The proper solution would be to continue the search at the end of
the inserted text (= beginn of the rest of the text).
Regards
Erwin
В списке pgadmin-support по дате отправления: