Solution For Erroneous Regex Handling In EmEditor Text Processor

Solution For Erroneous Regex Handling In EmEditor Text Processor

Scott Lv8

Solution For Erroneous Regex Handling In EmEditor Text Processor

April 9, 2009 at 9:40 pm #7138

Yutaka Emura

Keymaster

Flint wrote:
I noticed strange problems in how EE processes regular expressions.

1. Start the portable version of EE 8.04 with clean settings and open a text file with the following contents:

MDB

NSCopy +

Resourse Extractor +

2. Press Ctrl+H, enter the Find expression:
^([^n])
and Replace with expression:
>1

3. Check the Use Regular Expressions checkbox, press Replace All.

4. The result is:

MDB

N>SCopy +

Resourse Extractor +

You can see that the second line is processed incorrectly.

If I perform the same find-replace step-by-step, I get the same result (in the “NSCopy” string the letters N and S are found and replaced as if they were located at the beginning of the line), though they are not.

I reproduced your issue, and I will fix this issue soon. Thanks!

Also read:

  • Title: Solution For Erroneous Regex Handling In EmEditor Text Processor
  • Author: Scott
  • Created at : 2024-11-17 02:15:49
  • Updated at : 2024-11-23 00:25:45
  • Link: https://win-web.techidaily.com/solution-for-erroneous-regex-handling-in-emeditor-text-processor/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Solution For Erroneous Regex Handling In EmEditor Text Processor