EmEditor (text editor) Forum Index
   EmEditor Core Bug Reports
     Some patterns fail to match the desired strings in v11.0.3
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
jimmy
Posted on: 1/1/2012 9:38 pm
Just popping in
Joined: 11/19/2009
From:
Posts: 8
Some patterns fail to match the desired strings in v11.0.3
If the value of "Additional Lines to Search for Regular Expressions" parameter is greater than 0, take the following piece of text for eg (\t is a tab char).

First Line\t1
Second Line
Third Line\tA
Fourth Line\t4


1> If the cursor is in the first line, the regular expression pattern "[^\d]\r\n" only matches the "\r\n" character at the end of the second and the third line. The replacement function fails in both positions.

2> If the cursor is in the second line, the pattern "[^\d]\r\n" can match "e\r\n", and then clicking the "Find Next" button, it only matches "A" at the end of the third line and the replacement function doesn't work here.

When "Additional Lines to Search for Regular Expressions"=0, it matches correctly.
Flat Previous Topic | Next Topic


Subject Poster Date
 » Some patterns fail to match the desired strings in v11.0.3 jimmy 1/1/2012 9:38 pm
     Re: Some patterns fail to match the desired strings in v11.0.3 Yutaka 1/20/2012 12:30 pm
       Re: Some patterns fail to match the desired strings in v11.0.3 jimmy 1/21/2012 5:57 am

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