Author Topic: Unhandled exception during search and replace (regex)  (Read 3063 times)

Offline dushara

  • Multiple posting newcomer
  • *
  • Posts: 29
Unhandled exception during search and replace (regex)
« on: January 23, 2013, 12:20:08 am »
Hi,

Hope this is the right place for this. I've got a large (~8M) text file ~500K  lines with the following format:

Code: [Select]
Time [s],Value,Parity Error,Framing Error
-3.6e-005,0x78,,
5.2e-005,0x6D,,
0.000138,0x61,,
0.000224,0x0D,,
0.002018,0x2A,,
0.002106,0x66,,
0.002192,0x78,,
0.002278,0x6D,,
0.002366,0x20,,
0.002452,0x30,,
0.002538,0x0D,,
...
and so on

I wanted to get rid of the first column so I used the following regex to search for in the current document.

Code: [Select]
.*[0-9]*[.][0-9e-]*,
to be replaced with nothing.

This caused codeblocks to crash with an unhandled exception.

I've got Release 12.11 rev 8629 running on Windows 7.

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Unhandled exception during search and replace (regex)
« Reply #1 on: January 23, 2013, 06:27:06 am »
Please try if it works if you uncheck "Settings -> Editor -> Margins and caret -> Use changebar".