Regular expressions shortfall
Brought to you by:
zc2
why I post:
version is 1.62.2 and I searched this project for regular expressions complaints being fixed and found none so you must be unaware
using Ghost text editor.
replaces with text of what I enter "\r\n" and not the interpretation
tried also \t. (I have an old NPP it will do \t but not \r or \n but has an extended mode which supports \r and \n)
i then tried 1+1=2
it won't find this (correct) but it will replace text with literal 1+1=2
I've added an ability to use the regex substitutions in the replacement as long as the insertion of special characters \n \r \t
That means, if, for an example, you would need to add a new line after a different strings you would search for, you would not need to put the search string in the "replace" dialog's field. Instead, a regex substitution $0\n could be used.
That, of course, works only when the RegEx checkbox is on
However, I did not understand your exercises with "1+1=2". Please give some elaborated examples.