Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #70455

Re: how to string format when string have {

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.012
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; '21,': 0.07; 'here?': 0.09; 'subject:string': 0.09; 'cc:addr:python-list': 0.11; '(there': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:format': 0.16; 'subject:when': 0.16; 'wrote:': 0.18; '(not': 0.18; 'things.': 0.19; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; "can't": 0.35; 'received:google.com': 0.35; 'pm,': 0.38; 'morning': 0.39; 'believe': 0.68; 'subject:have': 0.80; 'otten': 0.84; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=8joVdRe+k5QuNmlQQEuHDIQkaPG6JF4cL6IkT7Invio=; b=Sw/+Yn/GwfE1Uojm6IpNq+3vGC+6PGREEEKQyjWYZtKaUxIjipU9pAhWs3+THtf/I0 ho0yPhZR6zQ2Y1MJIg/A5SSKQB+lLdkPLqXM7QI0DA3lEaC3qV0aA2pAiYoGtikHtpxd nwJL10iYF7NqJX8r93N4rexODQwFOGobpVq7AzHFwNZyvbvkoPBwt8wYjyk4mTfXohZh Xy9YDN0+ZKfFK0dqAvxsDw6wKZnIGX2o4nPB76U2AhWu0k8gvRN5v+LZ0pKYzzDhZd/b z0DDLCGOVdVL+Mm0Rc7pnxiiWAaLYRMTqbpux25i4jPutzXR39S+UmVHDCyh++xhrn+a w36w==
MIME-Version 1.0
X-Received by 10.58.1.5 with SMTP id 5mr33564118vei.8.1398070571487; Mon, 21 Apr 2014 01:56:11 -0700 (PDT)
In-Reply-To <lj2m5r$hi1$1@ger.gmane.org>
References <2075921a-dd3e-4788-86fb-e751ad98ee0e@googlegroups.com> <CAPTjJmoqqhOgLe-HBBmXA1Nkv-wC3T1w1BRE+RmjeX1+XFQRgA@mail.gmail.com> <lj2m5r$hi1$1@ger.gmane.org>
Date Mon, 21 Apr 2014 18:56:11 +1000
Subject Re: how to string format when string have {
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.9399.1398070573.18130.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1398070573 news.xs4all.nl 2924 [2001:888:2000:d::a6]:56327
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:70455

Show key headers only | View raw


On Mon, Apr 21, 2014 at 6:51 PM, Peter Otten <__peter__@web.de> wrote:
> Some regex gymnastics in the morning (not recommended):

You ask me to believe that a regex would be the best solution here?
There's no use trying; one CAN'T believe impossible things.

ChrisA
(There goes the shawl again!)

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

how to string format when string have { Mariano DAngelo <marianoa.dangelo@gmail.com> - 2014-04-20 15:34 -0700
  Re: how to string format when string have { Chris Angelico <rosuav@gmail.com> - 2014-04-21 08:41 +1000
  Re: how to string format when string have { Tim Chase <python.list@tim.thechases.com> - 2014-04-20 18:43 -0500
  Re: how to string format when string have { Peter Otten <__peter__@web.de> - 2014-04-21 10:51 +0200
  Re: how to string format when string have { Chris Angelico <rosuav@gmail.com> - 2014-04-21 18:56 +1000

csiph-web