Re: [Numpy-discussion] Defining version_pattern for fcompiler (pathscale)

2009-03-24 Thread Lewis E. Randerson
Puali, Thanks. Somehow google failed me when I was looking for a clear explanation. --Lew On Mar 24, 2009, at 3:55 PM, Pauli Virtanen wrote: > Tue, 24 Mar 2009 15:44:07 -0400, Lewis E. Randerson wrote: > >> Puali, >> >> I was wondering why the there seemed to be two uses for parens in the >> s

Re: [Numpy-discussion] Defining version_pattern for fcompiler (pathscale)

2009-03-24 Thread Pauli Virtanen
Tue, 24 Mar 2009 15:44:07 -0400, Lewis E. Randerson wrote: > Puali, > > I was wondering why the there seemed to be two uses for parens in the > string. I now have the braces in. The issue now I suspect is the > stuff after (?P. That is where I am really confused. This is probably best answer

Re: [Numpy-discussion] Defining version_pattern for fcompiler (pathscale)

2009-03-24 Thread Lewis E. Randerson
Puali, I was wondering why the there seemed to be two uses for parens in the string. I now have the braces in. The issue now I suspect is the stuff after (?P. That is where I am really confused. Any opinions there. --Lew On Mar 24, 2009, at 3:32 PM, Pauli Virtanen wrote: > Tue, 24 Mar 2009

Re: [Numpy-discussion] Defining version_pattern for fcompiler (pathscale)

2009-03-24 Thread Pauli Virtanen
Tue, 24 Mar 2009 15:11:05 -0400, Lewis E. Randerson wrote: > Hi, > > I am trying to setup a new compiler for numpy and my lack of python > pattern matching syntax knowledge is bogging me down. > > Here is one of my non-working patterns. > = > ver

[Numpy-discussion] Defining version_pattern for fcompiler (pathscale)

2009-03-24 Thread Lewis E. Randerson
Hi, I am trying to setup a new compiler for numpy and my lack of python pattern matching syntax knowledge is bogging me down. Here is one of my non-working patterns. = version_pattern = r'Pathscale(TM) Compiler Suite: Version (? P[^\s]*)' ===