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: 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: References: From: Devin Jeanpierre Date: Sat, 23 Feb 2013 10:30:26 -0500 Subject: Re: Correct handling of case in unicode and regexps To: Vlastimil Brom Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "comp.lang.python" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Sat, Feb 23, 2013 at 10:26 AM, Devin Jeanpierre wrote: > However, regex has the same behavior. My apologies, I forgot to set the VERSION1 flag. Interesting. 'ss' matches '=C3=9F', but 's+' does not. Is this desirable behavior? -- Devin