StringCases kills Kernel
- To: mathgroup at smc.vnet.net
- Subject: [mg80712] StringCases kills Kernel
- From: dh <dh at metrohm.ch>
- Date: Thu, 30 Aug 2007 02:26:41 -0400 (EDT)
Hello,
I often read a file into a string and use StringCases to extract
relevant information. However, if the extracted part is too large, the
kernel is killed. This happens in version 5 and 6. here is a simple
example:
s= StringJoin[Table["0123456789", {10^5}]];
StringCases[s, RegularExpression["(0123456789)+"] ];
the same also happens when we use a StringPattern:
StringCases[s3, "0123456789" ..];
Daniel