Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4398
    user
    Participant

    hello

    I have this regex macro

    document.selection.Replace("[ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ]Ά[ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ]", "1Α2", eeFindReplaceCase | eeFindReplaceRegExp | eeFindReplaceQuiet | eeReplaceAll);  

    it should replace ΑΈΑ with ΑΕΑ, but what it results in: Ε

    is there any way to fix this? is it a bug?

    #4407
    Yutaka Emura
    Keymaster

    Not a bug. You must escape back slash as “” in JavaScript.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.