Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #39673
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.007 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'url:pypi': 0.03; 'matches': 0.07; 'cc:addr:python-list': 0.10; 'sat,': 0.15; 'insensitive': 0.16; 're,': 0.16; 'subject:case': 0.16; 'subject:handling': 0.16; 'subject:unicode': 0.16; 'wrote:': 0.17; 'comparing': 0.17; '>>>': 0.18; 'feb': 0.19; 'cc:2**0': 0.23; "i've": 0.23; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'received:209.85.212': 0.28; 'behavior.': 0.29; 'pertinent': 0.29; 'maybe': 0.29; 'url:python': 0.32; 'point,': 0.33; 'point.': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'but': 0.36; 'url:org': 0.36; 'does': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'more': 0.63; 'improvements': 0.65; '10:11': 0.84; '2013': 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=hVWmrPQlHJr9dlZymp4kfOoHlo1eVgNFNXIrvAvGTI4=; b=Nd1jaUxFtYF4a2muAOs+cH/+dZMhMhgY6+MBNxslOQZEnYkXwO6sm7rzBa6oaqG9Ue 5LW4JaR0cAFozo6VZLSvnBrNTGC8TZXIIE3Osg73W4Yd2EDc30oJ80rFsXgpBfvjmYIt Q7QUGoD6MQdmOtUqMA9ogS6PDkKnKbpTSLKpzCCkJ8c5CzhqrTrV6WTxMveJhAY6Kanq +2BlC1B3pT075asKDkK8pTPRs0C2GXG1YZZqU8yPfHNUIdxVgdUm/qofKir+wEYMak5E 3n5+iKdpu9nrC3anRIY3RSNTVzqP+yoDaTsF+LGiKCUmODwsXIytW2LlBbsXifckcq6r JhOg== |
| X-Received | by 10.220.208.137 with SMTP id gc9mr7429123vcb.51.1361633240619; Sat, 23 Feb 2013 07:27:20 -0800 (PST) |
| MIME-Version | 1.0 |
| In-Reply-To | <CAHzaPEMmSExoFunOp_OyRCEOKE-+WzEO-hdb61DUiZFnzOG_rw@mail.gmail.com> |
| References | <CABicbJLzQ9AHrGuaooiBRk45U5CHZYw6CodJFiQvAuF4+7kToA@mail.gmail.com> <CAHzaPEMmSExoFunOp_OyRCEOKE-+WzEO-hdb61DUiZFnzOG_rw@mail.gmail.com> |
| From | Devin Jeanpierre <jeanpierreda@gmail.com> |
| Date | Sat, 23 Feb 2013 10:26:40 -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.2349.1361633248.2939.python-list@python.org> (permalink) |
| Lines | 16 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1361633248 news.xs4all.nl 6893 [2001:888:2000:d::a6]:41704 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:39673 |
Show key headers only | View raw
On Sat, Feb 23, 2013 at 10:11 AM, Vlastimil Brom
<vlastimil.brom@gmail.com> wrote:
> you may check the new regex implementation
> https://pypi.python.org/pypi/regex
> which does support casefolding in case insensitive matches (beyond
> many other features and improvements comparing to re)
Good point, I've been looking only at re, but maybe regex is more
pertinent after a point.
However, regex has the same behavior.
>>> regex.match('ss', 'ß', regex.UNICODE | regex.IGNORECASE)
>>>
-- Devin
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Correct handling of case in unicode and regexps Devin Jeanpierre <jeanpierreda@gmail.com> - 2013-02-23 10:26 -0500
csiph-web