- June 1, 2007 at 7:20 am #4400
document.selection.Replace("ι", "", eeFindReplaceOnlyWord | eeFindReplaceCase | eeFindReplaceQuiet | eeReplaceAll);
ι is i in greek
this replaces ι even in here αιτ
the eeFindReplaceOnlyWord command doesnt seem to work
is this a bug?June 7, 2007 at 7:56 am #4419
anyone confirm the bug? will it be fixed?June 9, 2007 at 12:07 am #4423
See EmEditor Help – Dialog Boxes -Search Only Word check box: “A word is defined as a string that begins and ends with any of these characters: A – Z, a – z, 0 – 9, or an underscore.”
To do what you want you can use regular expression: bιb
b matches word boundary
document.selection.Replace(“bιb””,””,eeFindNext | eeFindReplaceCase | eeReplaceAll | eeFindReplaceRegExp);June 9, 2007 at 6:22 am #4424
the b doesnt exist in
is there a complete reference for regex?
You must be logged in to reply to this topic.