EmEditor (text editor) Forum Index
   EmEditor Core Bug Reports
     RegExp highlighting sometimes matches inside strings and comments
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
Jibz
Posted on: 8/26/2010 5:13 am
Just popping in
Joined: 8/26/2010
From:
Posts: 9
RegExp highlighting sometimes matches inside strings and comments
To reproduce, create a C++ file with

char *foo =
"5" // 5
 "5" // 5
;

Add a regexp highlight string of \d+ (match digits).

The 5 inside the string and comment in the first line are not highlighted, but in the second line (which starts with one space) they are.
Flat Previous Topic | Next Topic


Subject Poster Date
 » RegExp highlighting sometimes matches inside strings and comments Jibz 8/26/2010 5:13 am
     Re: RegExp highlighting sometimes matches inside strings and comments Yutaka 8/26/2010 9:59 am
       Re: RegExp highlighting sometimes matches inside strings and comments Jibz 8/26/2010 10:31 am
         Re: RegExp highlighting sometimes matches inside strings and comments Yutaka 8/26/2010 12:06 pm

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