pspad:
--------------------------------------------------------------------------------
...
But ^ or $ doesn't represent anything, it's only modificatorthat you want to
start search on the begin or your expression must be on the end of line.
...
--------------------------------------------------------------------------------
That is not correct. ^ and $ match the starting and ending position of a line.
They can be replaced but, because they are logical objects, they can not be
deleted (The King is dead, long live the King).
I was not aware of the "Insert Text into Lines..." dialogue. Especially after
you introduced search profiles, the search/replace dialogue is more convenient.
The functionality of the "Insert Text into Lines..." dialogue can be done with
REs:
Search: (^)(.*)($)
Replace: {$2}
This still works in the 5.0.7 (625), but blank lines are missed out!
I consider the current behaviour an error in handling regular expressions.
--
<https://forum.pspad.com/read.php?6,75666,75729>
PSPad freeware editor https://www.pspad.com