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