Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#4388 [u0800-\uFFFF] regex search fails, getting chinese in status

1.x
open
nobody
None
5
2013-07-11
2013-07-09
Jim Michaels
No

the red status bar in the find box is giving me chinese once in a while, I have no chinese in my html, this is either the editor going nuts, or disk bad blocks. I upgraded to 6.4.1.

my document is english. old english, specifically.

I tried to search for unicode characters via regex search, but I got the entire document practically (inappropriate results) as search results.

I am getting chinese in red status just doing regular text finds with regex in. sometimes it shows one of my search results.

Discussion

  • Jim Michaels
    Jim Michaels
    2013-07-09

    it's been over 5 minutes, and my editor is still processing the search. I have an i7-3970x processor and 64GB of RAM. this should not be a problem. something is severely wrong with this editor.

    after doing my search as outlined above on my 7MB html document, it got into some weird mode trying to give me some popup help tip thing with a list of words, and I couldn't make it go away and I could not save my document, that was disabled, and I could not make changes to the document, and I had no cursor. all I could do was close npp. so I guess you could say npp went nuts. it took several minutes for it to clear the search results.

    in fact, I am trying it again, this time with

      [\U0800-\UFFFF]
    

    , and it seems to be hung this time.
    I think it ran out of 32-bit memory.

     
  • Jim Michaels
    Jim Michaels
    2013-07-09

    by the way, by 32-bit memory, I mean npp's 32-bit limitations. my machine is 64-bit.

     
  • The problem with the garbage letters in the status bar should be fixed in 6.4.2.

     
  • Jim Michaels
    Jim Michaels
    2013-07-10

    it would be nice to be able to search for regex characters too. I don't know if notepad++ does this, but it's mentioned in the o'reilly book Mastering Regular Expressions.

     
  • Jim Michaels
    Jim Michaels
    2013-07-10

    thanks. I didn't know whether it was the program, or if it was actual data corruption in my file. it has happened once before where I have had to replace text that was corrupted, I was suspecting growing bad disk blocks. larger disks have more of a problem with that apparently.

     
  • Jim Michaels
    Jim Michaels
    2013-07-11

    sorry, I am now realizing that these are really two different bug reports. I suppose I will make a separate one for the regex unicode character support as a feature request.