News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Unhandled exception during search and replace (regex)

Started by dushara, January 23, 2013, 12:20:08 AM

Previous topic - Next topic

dushara

Hi,

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

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.

.*[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.

Jenna

Please try if it works if you uncheck "Settings -> Editor -> Margins and caret -> Use changebar".