EmEditor (text editor) Forum Index EmEditor Core Bug Reports
Regular Expression Searching Too Slow In Some Large Text Files | Register To Post |
| Threaded | Oldest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| Cirillo | Posted on: 7/29/2010 3:47 am |
Not too shy to talk ![]() ![]() Joined: 7/2/2010 From: Posts: 21 |
Re: Regular Expression Searching Too Slow In Some Large Text Files Hi spudly
Quote: I did a Replace All changing \n with ,\n That's a well known issue. EmEditor slows down greatly when A New Line expression is used in a regex search/replace string. In some cases one can evade it by using $ (End of String) instead of \n, it depends on the given text. |
| spudly | Posted on: 7/29/2010 2:37 am |
Just popping in ![]() ![]() Joined: 2/5/2009 From: Posts: 9 |
Re: Regular Expression Searching Too Slow In Some Large Text Files I've just experienced this problem doing a Replace All.
I have a csv file (not yet saved) with 164000 rows in it. I did a Replace All changing \n with ,\n (added a column to the end of the data row). A popup appeared with a check box 'Accelerate by Discarding Undo Information' which I ticked. The action took minutes to complete !!! Previous versions used to run significantly quicker. The 'Additional Lines to Search for Regular Expressions' is set to 0. I ran the Replace All again with the same criteria and it took just as long. I ran a third Replace All changing ,, to , and the process took less than a second. The problem would seem to be related to regular expressions. Is there any way of disabling the undo during a Replace permanently ? |
| Yutaka | Posted on: 7/21/2010 10:41 am |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2399 |
Re: Regular Expression Searching Too Slow In Some Large Text Files Hello hzy123,
You should set 0 to the "Additional Lines to Search for Regular Expressions" text box. If the search is still slow even if you set to 0, please let me know. Thanks!
|
| hzy123 | Posted on: 7/21/2010 8:49 am |
Just popping in ![]() ![]() Joined: 3/22/2009 From: Posts: 4 |
Re: Regular Expression Searching Too Slow In Some Large Text Files ![]() my settings |
| Yutaka | Posted on: 7/19/2010 3:58 pm |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2399 |
Re: Regular Expression Searching Too Slow In Some Large Text Files Hi hzy123,
Thanks for using EmEditor Professional! What do you specify in the "Additional Lines to Search for Regular Expressions text box" text box and "Regular Expressions Can Match New Line Characters" check box in the Search tab of the Customize dialog box? Thanks!
|
| hzy123 | Posted on: 7/17/2010 5:39 am |
Just popping in ![]() ![]() Joined: 3/22/2009 From: Posts: 4 |
Regular Expression Searching Too Slow In Some Large Text Files I'm using Emeditor 10.0.0 Professional 32bit
How to duplicate this bug: 1. download the text file http://rapidshare.com/files/407453628/Untitled.zip 2. Open it and Find the "4400" word |
| Threaded | Oldest First | Previous Topic | Next Topic | Top |
| Register To Post | |






