MathGroup Archive 2013

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

Search the Archive

RegularExpression::maxrec: Recursion limit exceeded; positive match

  • To: mathgroup at smc.vnet.net
  • Subject: [mg129469] RegularExpression::maxrec: Recursion limit exceeded; positive match
  • From: "locometro, INMETRO/UFRJ, Brasil - RJ" <decicco10 at gmail.com>
  • Date: Wed, 16 Jan 2013 01:40:23 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

hello!

Its been a problem to use OpeanRead, every time the error : 

RegularExpression::maxrec: Recursion limit exceeded; positive match might be missed. >>
pops up!

Im trying to extract data from txt file , 12 mb, only.

when I use my algoritm to less than 7 mb, it is ok!

See the algoritm below:

data1 = OpenRead[
  "E:\\Documentos_Inmetro\\MarceloContas\\ArtigoMetdologia\\NovosFac_\
dez_2012\\29_alq3_fac_JA_OPT_150estados_mpwlyp_6311++gdp_FEITO.log"]
data1a = ReadList[data1, Record, RecordSeparators -> {}] // ToString
data2 = StringCases[data1a, 
   "Excitation energies and oscillator strengths:" ~~ __ ~~ 
    "Excited State  16:"];
Close[data1]

Help Somebody!

Best Regards!



  • Prev by Date: Re: Export with append??
  • Next by Date: Re: neighborhood operations on image
  • Previous by thread: Re: NonlinearModelFit Problem
  • Next by thread: Re: RegularExpression::maxrec: Recursion limit exceeded; positive match