| delorie.com/archives/browse.cgi | search |
| 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" <djpham AT netzero DOT com> |
| 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> |
| X-ContentStamp: | 2:3:3835540111 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |