I want to filter everything from a log that belongs to a particular user. With the following pattern I can match everything that I am looking for, but when I ask Notepad++ to bookmark these line so I can copy them something stranges happens.
([^\n]+)userB(.+?)(?=([0-9]{4}-[0-9]{2}-[0-9]{2}))
In front of line 2 and 8 I see a bookmark icon, but the lines: 3,4,5 and 9,10,11 are missing a icon altough they belong to the highlighted text.
Why does Notepad++ highlight the text, but doesn't place the bookmark correctly? And more important how can I fix this?
Here is the log that I am using:
2015-03-02 11:28:44,993 INFO application [http-0.0.0.0-8080-17] userA 99:7 12345 some message 2015-03-02 11:28:45,468 WARN application [http-0.0.0.0-8080-9] userB 12:2 some message extra information at some.classes.and.function(Filename.java:123) at some.classes.and.function(Filename.java:123) 2015-03-02 11:28:44,993 INFO application [http-0.0.0.0-8080-17] userA 99:7 12345 some message 2015-03-02 11:28:44,993 INFO application [http-0.0.0.0-8080-17] userA 99:7 12345 some message 2015-03-02 11:28:45,468 WARN application [http-0.0.0.0-8080-9] userB 12:2 some message extra information at some.classes.and.function(Filename.java:123) at some.classes.and.function(Filename.java:123) 2015-03-02 11:28:44,993 INFO application [http-0.0.0.0-8080-17] userA 99:7 12345 some message