Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10471

    LTT
    Participant

    Lookbehind search in a macro is not allowed?

    When trying a lookbehind search in a macro, I was prompted with “Syntax error in regular expression”.

    e.g. this macro:
    http://www.emeditor.com/modules/mydownloads/singlefile.php?cid=8&lid=180
    emeditor_perfecta_en.jsee
    — Using regex to extract string

    I also tried a VBEE macro, same result.

    #10472

    Stefan
    Participant

    Isn’t that normal?

    Just google a bit:

    JavaScript and VBScript doesn’t supported Lookbehind at all.
    Lookahead is fully supported.

    You can use Python or Perl if you want to use Lookbehind.

    EmEditor Help – EmEditor Macro Reference – Directives
    #language directive

    (though that languages are not installed on windowsTM as default)

    .

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Share with friends... Tweet about this on TwitterShare on FacebookShare on Google+Email this to someone