MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

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




  • Prev by Date: Sound recorder
  • Next by Date: Localizaction of variables in Fit..
  • Previous by thread: Re: Re: Sound recorder
  • Next by thread: Re: StringCases kills Kernel