Hello! PSPad doesn't replace all occurences if the replace string is a regular expression, it only replaces the first occurrence but reports it changed all.
To reproduce try this: 1. Text for testing is a single line with an apostroph which shall be replaced by "new line" "abcdefg 'fdklfdhfdhjfdhfg'fdfidzurziurze fhjdhkfdh'djfldfjlfdjk'x" 2. Choose replace, Search string is the apostroph "'", Replace string is "\n" Enable regular expressions (for the "\n") and disable all other search options. Search in everything and use the complete file. Result: PSPad replaces the first apostroph, but not the other three, but it displays that it replaced 4 times. Even if you set the option to ask on every replace it only replaces the first occurence of the search string. Seems PSPad gets out of sync with the text on this replace. Regards Maddes http://www.maddes.net/ -- <http://forum.pspad.com/read.php?4,33842,33842> PSPad freeware editor http://www.pspad.com
