Viewing 4 posts - 1 through 4 (of 4 total)
- AuthorPosts
- June 1, 2007 at 7:20 am #4400userParticipant
hello
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 #4419userParticipantanyone confirm the bug? will it be fixed?
June 9, 2007 at 12:07 am #4423VladMemberSee 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 boundaryIn JavaScript:
document.selection.Replace(“bιb””,””,eeFindNext | eeFindReplaceCase | eeReplaceAll | eeFindReplaceRegExp);June 9, 2007 at 6:22 am #4424userParticipantthanks
the b doesnt exist in
http://www.emeditor.com/help/howto/search/search_regexp_syntax.htmis there a complete reference for regex?
- AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.