Hi,
I encounter a problem when running a .jsee macro not matching where it *should* . I need to run the macro twice in order to have all the words replaced as they should.
Here’s the textfile for testing purposes (the macro should replace all “l” chars at the beginning of every line, however it skips some, and only replaces them when the macro is ran a 2nd time)
lerse
ler
lers
lerland
This is the macro-script that should match at *every* line.
document.selection.Replace("(rn|-|<i>|,| )ler(s|se|land|)( |</i>|,|.|!|?|(r)*n)","1Ier23",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
Can you please try to reproduce, and see what I mean please ?