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


Groups > comp.lang.python > #39674

Re: Correct handling of case in unicode and regexps

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <jeanpierreda@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.022
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'matches': 0.07; 'cc:addr :python-list': 0.10; 'sat,': 0.15; 'subject:case': 0.16; 'subject:handling': 0.16; 'subject:unicode': 0.16; 'wrote:': 0.17; 'feb': 0.19; 'cc:2**0': 0.23; 'cc:addr:python.org': 0.25; 'header :In-Reply-To:1': 0.25; 'am,': 0.27; 'forgot': 0.27; 'message- id:@mail.gmail.com': 0.27; 'received:209.85.212': 0.28; 'behavior.': 0.29; 'not.': 0.32; 'received:google.com': 0.34; 'desirable': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'does': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; '2013': 0.84; 'flag.': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=3cDsNfRHcH5/KXHGx0Aocos9Nko2n1eNI9+sjhwJFHU=; b=Sa4ZanfsSqU3ZXkU3SZd4SpyQSLfklbaHTz2dSH57JmKnDUJi65XO6LIi31a6+CyNR R1sNNi47wBCYaqg7ov1ZxFDs6m/yx9WcWicJePjmVAsTHV8FQzA0q7RyxpfggdOAgWqG Bvr7BVrycqVmc4PdY5/xmCDHmVl5VWzQPA/+jG03R6yAxNz8O17uNcywFwDieIP+/Ejk MU8IQ1KxlT45/7/n18dMioZHTxQjwAifSg5v5cOtxxtGRGKYrFqaSsPsp4hneMd7f2l/ bao60QwGnio0AdmL0MpECGfinI4NZdJRBX8iR4w1QSpR9KyesQzUxOTjec5+i2UXGs3Q VLmg==
X-Received by 10.220.9.3 with SMTP id j3mr7444910vcj.56.1361633466397; Sat, 23 Feb 2013 07:31:06 -0800 (PST)
MIME-Version 1.0
In-Reply-To <CABicbJJ0RoyQVdX9Hyd-fYeumS4faH2TVpYHiMwW0MRuPZUL8g@mail.gmail.com>
References <CABicbJLzQ9AHrGuaooiBRk45U5CHZYw6CodJFiQvAuF4+7kToA@mail.gmail.com> <CAHzaPEMmSExoFunOp_OyRCEOKE-+WzEO-hdb61DUiZFnzOG_rw@mail.gmail.com> <CABicbJJ0RoyQVdX9Hyd-fYeumS4faH2TVpYHiMwW0MRuPZUL8g@mail.gmail.com>
From Devin Jeanpierre <jeanpierreda@gmail.com>
Date Sat, 23 Feb 2013 10:30:26 -0500
Subject Re: Correct handling of case in unicode and regexps
To Vlastimil Brom <vlastimil.brom@gmail.com>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Cc "comp.lang.python" <python-list@python.org>
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2350.1361633468.2939.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1361633468 news.xs4all.nl 6905 [2001:888:2000:d::a6]:44069
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:39674

Show key headers only | View raw


On Sat, Feb 23, 2013 at 10:26 AM, Devin Jeanpierre
<jeanpierreda@gmail.com> wrote:
> However, regex has the same behavior.

My apologies, I forgot to set the VERSION1 flag.

Interesting. 'ss' matches 'ß', but 's+' does not.

Is this desirable behavior?

-- Devin

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


Thread

Re: Correct handling of case in unicode and regexps Devin Jeanpierre <jeanpierreda@gmail.com> - 2013-02-23 10:30 -0500

csiph-web