Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5230
    chabulier
    Member

    Well, I try to use it locate a string.
    1) I run this, it works well.
    ^01.{0,200}
    2) Then I use the following one, it doesn’t work for me.
    (?<=^01.{0,200}).{15}
    3) I tried to use the following one, it works.
    (?<=^01.{200,200}).{15} I’m wondering if it’s a bug.

    #5235
    Yutaka Emura
    Keymaster

    chabulier wrote:
    Well, I try to use it locate a string.
    1) I run this, it works well.
    ^01.{0,200}
    2) Then I use the following one, it doesn’t work for me.
    (?<=^01.{0,200}).{15}
    3) I tried to use the following one, it works.
    (?<=^01.{200,200}).{15}

    I’m wondering if it’s a bug.

    I don’t believe it is a bug. It is the specification of the regular expression EmEditor uses. The pattern in (?<=pattern) does not support vaiable length.

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