Hi all,
my search via RegEx with Cut and paste in the same file works not correctly.
my source is text like this
"
foo, bar ([email protected])
Mind, Mister ([email protected])
else, someone ([email protected])
..."
I'm interested in the "loginname" RegEx: ([a-z,0-9]+@
The selection is allways correct. e.g. (foobar@ ...
My macro then should (!) cut the hit, move to the end of textfile via "Bottom", paste the hit and from top, search again.
But often the selected text is not cut but only copied...
So if you run the following macro on the source above, with some repetitions, you'll see some doubled pastings at the end of file.
This results in not cutting the hit out of the "source" ...
Am I wrong anywhere in my mind, or is there a problem with the macro-interpreter or the execution?
Thanks a lot for your help.
regards
joerg
PS: The two quotes results of hitting Enter after pasting.. but you know this for sure - I'm just new in these macros
The macro is:
InsertMode
ColumnModeOff
HexOff
UnixReOff
Find RegExp PreserveCase "([a-z,0-9]+@"
Cut
Bottom
Paste
"
"
Top
my search via RegEx with Cut and paste in the same file works not correctly.
my source is text like this
"
foo, bar ([email protected])
Mind, Mister ([email protected])
else, someone ([email protected])
..."
I'm interested in the "loginname" RegEx: ([a-z,0-9]+@
The selection is allways correct. e.g. (foobar@ ...
My macro then should (!) cut the hit, move to the end of textfile via "Bottom", paste the hit and from top, search again.
But often the selected text is not cut but only copied...
So if you run the following macro on the source above, with some repetitions, you'll see some doubled pastings at the end of file.
This results in not cutting the hit out of the "source" ...
Am I wrong anywhere in my mind, or is there a problem with the macro-interpreter or the execution?
Thanks a lot for your help.
regards
joerg
PS: The two quotes results of hitting Enter after pasting.. but you know this for sure - I'm just new in these macros
The macro is:
InsertMode
ColumnModeOff
HexOff
UnixReOff
Find RegExp PreserveCase "([a-z,0-9]+@"
Cut
Bottom
Paste
"
"
Top