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 5:46 pm
Just can't stay away
Joined: 4/8/2010
From:
Posts: 130
Re: Only single match is highlighted when regex contains \n...
I'm confused as to what you are searching for.
Especially since you are using multiple instances of "*"
--- Which with regex are rarely necessary, and frequently will mangle your search results.

[[:alnum:];.] ---> means match *ANYTHING*

You haven't escaped the period. and it will match any char.
Possibly you meant:
[[:alnum:];\.]

But then, this: ([[:alnum:];\.])*
Means match any alphanumeric plus semi-colon plus a dot any number of times, or not at all. Meaning it will also match empty lines - that only have a carriage return.

Possibly, what you meant as your regex:
Quote:
: ([[:alnum:];\.])+\n
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 日本語 한국어 Русский 简体中文 繁體中文