EmEditor (text editor) Forum Index
   EmEditor Core Bug Reports
     Only single match is highlighted when regex contains \n...
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
CrashNBurn
Posted on: 7/13/2011 6:38 pm
Just can't stay away
Joined: 4/8/2010
From:
Posts: 130
Re: Only single match is highlighted when regex contains \n...
My Test file:
teststring
teststring
teststring
teststring



ABCDE: .abc3;.s32
ABCDE: .abc3;.s32
ABCDE: .abc3;.s32
ABCDE: .abc3;.s32

This regex, Quote:
: +([[:alnum:];\.]+)\n
Matches the first 3 ABCDE lines.
This regex, Quote:
: +([[:alnum:];\.]+)$
Matches all 4.
And with this file:
teststring
teststring
teststring
teststring



ABCDE: .abc3;.s32
ABCDE:  .abc3;.s32
ABCDE:   .abc3;.s32
ABCDE:    .abc3;.s32

This regex: Quote:
:[ ]+([[:alnum:];\.])+$
Matches all 4 ABCDE's.

And with this file:
teststring
teststring
teststring
teststring



ABCDE: .abc3;.s32
ABCDE:  .abc3;.s32
ABCDE:   .abc3;.s32
ABCDE:    .abc3;.s32


This regex: Quote:
:[ ]+([[:alnum:];\.])+\n
Matches all 4 ABCDE's.
Flat Previous Topic | Next Topic


Subject Poster Date
   Only single match is highlighted when regex contains \n... Deipotent 7/13/2011 4:11 pm
     Re: Only single match is highlighted when regex contains \n... CrashNBurn 7/13/2011 5:46 pm
       Re: Only single match is highlighted when regex contains \n... Deipotent 7/13/2011 6:03 pm
       » Re: Only single match is highlighted when regex contains \n... CrashNBurn 7/13/2011 6:38 pm
           Re: Only single match is highlighted when regex contains \n... Deipotent 7/13/2011 6:46 pm
             Re: Only single match is highlighted when regex contains \n... CrashNBurn 7/13/2011 7:13 pm

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文