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

Threaded | Newest First Previous Topic | Next Topic | Bottom
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.
Yutaka
Posted on: 1/20/2012 12:30 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2422
Re: Some patterns fail to match the desired strings in v11.0.3
Hello jimmy,

I have already realized this issue, and have fixed it. Here is test versions you might want to try:

http://www.emeditor.com/pub/emed32_11.0.4rc1.exe (32-bit)

http://www.emeditor.com/pub/emed64_11.0.4rc1.exe (64-bit)

Please let me know if you can confirm the issue resolved, or if you can find any other bugs :)

When a new release version is available, please uninstall this RC version before you install the newer version.
Thank you!


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

jimmy
Posted on: 1/21/2012 5:57 am
Just popping in
Joined: 11/19/2009
From:
Posts: 8
Re: Some patterns fail to match the desired strings in v11.0.3
Yes, the issue is resolved. Thank you!
Threaded | Newest First Previous Topic | Next Topic | Top


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