Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

StringCases kills Kernel

  • To: mathgroup at
  • Subject: [mg80712] StringCases kills Kernel
  • From: dh <dh at>
  • Date: Thu, 30 Aug 2007 02:26:41 -0400 (EDT)


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 


s= StringJoin[Table["0123456789", {10^5}]];

StringCases[s, RegularExpression["(0123456789)+"] ];

the same also happens when we use a StringPattern:

StringCases[s3, "0123456789" ..];


  • 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