This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: binutils 20080523-1: version string breaks python2.5 distutils


>If the OP verifies that the attached patch fixes his problem, then I 
>will release a Cygwin Python with this patch applied.
>
>+        result = re.search('(\d+\.\d+(\.\d+)?)',out_string)

It worked, though not 100%: it failed to pick up the patch release component (i.e. 1.2.3a).  This search regex works for all cases:

'(\d+\.\d+(\.(\d+))?([ab](\d+))?)'

-Joe Pham


____________________________________________________________
You will believe your eyes! Click here for great whale watching packages!
http://thirdpartyoffers.netzero.net/TGL2231/fc/Ioyw6ijmeU7wZRUenw1u7GuTklvwvm8xoq7rRzhHua3Xfaeu1wqd2y/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]