I use inside Pspad many Regular expression to Match and Replace
I have an input File like:
XC_VAR01 , XC_MA_P01
XC_VAR02 , XC_MA_P01
XC_VAR03 , XC_MA_P02
XC_VAR04 , XC_MA_P03
I do a regexp search as : _^(XC_\w+)\s*,\s*(XC_\w+)\s*$_
replace: _find(
Vin : $1
Vout : $2
);
_
I search full document, and i have wrong count and the replacement does not work
as expected as not all line are processed. [i]It seems that new created line are
not added to total line. Replacement always stop before to end of file.... [/i]
If i add _many_ empty lines at the end replacement process succeed (counter
is false anyway)
Tested with 5.06 and latest 5.07 (620..625)
--
<https://forum.pspad.com/read.php?2,75714,75714>
PSPad freeware editor https://www.pspad.com