You are here: PSPad forum > Bug report / Hlášení chyb > Regex replace goes into infinite loop
Posted by: xgthox | Date: 2015-10-29 06:26 | IP: IP Logged
With text containing a left bracket ([) the following search and replace code makes the app continuously insert newlines
Case sensitive is on, and using regex
Pattern
\[
Replacement
\n\[
Version 4.5.9 (2600) - portable version
Posted by: pspad | Date: 2015-10-29 06:34 | IP: IP Logged
Use the current version please.
When you insert new line, start replace from the end instead of the begin. I know, it's workaround only.
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR