You are here: PSPad forum > English discussion forum > Re: Search (and Replace) broken in 5.0.2 (351)
Posted by: melchman | Date: 2020-01-15 20:19 | IP: IP Logged
Is anyone else having trouble with search in 5.0.2?
I search for a string B2 and it only finds the first one then thinks it reached the end of the file and wants to start over from the beginning. Strange.
EXAMPLE:
khkhjkB2khkhklhkjhkjhjkhB2jghggdffdB2kljhjkhj
Search and replace B2 with \n yields:
khkhjk
khkhklhkjhkjhjkhB2jghggdffdB2kljhjkhj
List indicates 1 find
Count indicates 3 finds
Posted by: vbr | Date: 2020-01-15 23:57 | IP: IP Logged
melchman:Is anyone else having trouble with search in 5.0.2?I search for a string B2 and it only finds the first one then thinks it reached the end of the file and wants to start over from the beginning. Strange.
EXAMPLE:
khkhjkB2khkhklhkjhkjhjkhB2jghggdffdB2kljhjkhjSearch and replace B2 with \n yields:
khkhjk
khkhklhkjhkjhjkhB2jghggdffdB2kljhjkhjList indicates 1 find
Count indicates 3 finds
Hi,
unfortunately there are some limitations in replacements with \n in PSPad (not only in the current version).
Replacement with other strings (other than line-break, \n in regex-mode) should work fine.
As a workaround, you can currently use backward search direction in the search and replace dialog (after placing the cursor at the end of the text).
hth,
vbr
Posted by: pspad | Date: 2020-01-16 05:37 | IP: IP Logged
List show lines, containing the search expression. Intentionaly each line is one time there
Editor PSPad - freeware editor, © 2001 - 2023 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR