Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #6736

    owilsky
    Participant

    Hi,

    tested with 8.01:

    Open a new document and paste these three lines:

    TEST!!!
    ** TEST !!!
    TEST!!!

    Now goto start of the document and open find dialog with this regex:
    (?< !**) *TEST There are three parts marked in green, but the last line is never selected when pressing “find down” multiple times.

    #6737

    Yutaka Emura
    Keymaster

    owilsky wrote:
    Hi,

    tested with 8.01:

    Open a new document and paste these three lines:

    TEST!!!
    ** TEST !!!
    TEST!!!

    Now goto start of the document and open find dialog with this regex:
    (?<!**) *TEST

    There are three parts marked in green, but the last line is never selected when pressing “find down” multiple times.

    I reproduced your issue, but this expression is confusing. Can you explain what you are really searching for? Is it possible to show me a simpler example? Thank you.

    #6738

    owilsky
    Participant

    (?<!**) is negative lookbehind.

    I am looking for the word “TEST”, but not if there is ** in front of it. Between ** and TEST may be spaces.

    This is for our programming language where ** marks a comment.
    So I am looking for TEST which is not commented out.

    #6742

    Yutaka Emura
    Keymaster

    owilsky wrote:
    (?<!**) is negative lookbehind.

    I am looking for the word “TEST”, but not if there is ** in front of it. Between ** and TEST may be spaces.

    This is for our programming language where ** marks a comment.
    So I am looking for TEST which is not commented out.

    I will address this issue. Thanks!

    #6806

    Yutaka Emura
    Keymaster

    Yutaka wrote:

    owilsky wrote:
    (?<!**) is negative lookbehind.

    I am looking for the word “TEST”, but not if there is ** in front of it. Between ** and TEST may be spaces.

    This is for our programming language where ** marks a comment.
    So I am looking for TEST which is not commented out.

    I will address this issue. Thanks!

    v8.02 beta 1 fixes this bug. Please try! Thanks!

Viewing 5 posts - 1 through 5 (of 5 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