Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13183 > unrolled thread

Re: RegularExpression::maxrec: Recursion limit exceeded; positive match

Started bySseziwa Mukasa <mukasa@gmail.com>
First post2013-01-17 04:15 +0000
Last post2013-01-17 04:15 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: RegularExpression::maxrec: Recursion limit exceeded; positive match Sseziwa Mukasa <mukasa@gmail.com> - 2013-01-17 04:15 +0000

#13183 — Re: RegularExpression::maxrec: Recursion limit exceeded; positive match

FromSseziwa Mukasa <mukasa@gmail.com>
Date2013-01-17 04:15 +0000
SubjectRe: RegularExpression::maxrec: Recursion limit exceeded; positive match
Message-ID<kd7tsr$q46$1@smc.vnet.net>
Without knowing the structure of your data It's hard to tell what the 
problem is.  However you're trying to pattern match on a 12MB string 
since you set RecordSeparators to {}.  You can't read the data into 
smaller pieces?


On Jan 16, 2013, at 1:40 AM, "locometro, INMETRO/UFRJ, Brasil - RJ" <decicco10@gmail.com> wrote:

> 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!
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web