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

Pauli Virtanen pav at iki.fi
Tue Mar 24 15:55:09 EDT 2009


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<version>.  That is where I am really confused.

This is probably best answered by the documentation:

	http://docs.python.org/library/re.html

In short, the (?P<...>) construct defines a named group.

-- 
Pauli Virtanen




More information about the NumPy-Discussion mailing list