X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-UOL-TAGLINE: true X-UNTD-OriginStamp: uQ1EVUub/Yma0jI1Vir5641eULaFmKdYyVA8dlWaujmPL3qstdFTuQ== Mime-Version: 1.0 From: "Joe Pham" Date: Fri, 30 May 2008 01:47:23 GMT To: cygwin AT cygwin DOT com Subject: Re: binutils 20080523-1: version string breaks python2.5 distutils X-Mailer: Webmail Version 4.0 Message-Id: <20080529.214723.26627.0@webmail21.dca.untd.com> Content-Disposition: inline Content-Type: text/plain; charset=windows-1252 X-ContentStamp: 2:3:3835540111 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m4U1nUYQ026006 >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/