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


Groups > comp.lang.python > #39673 > unrolled thread

Re: Correct handling of case in unicode and regexps

Started byDevin Jeanpierre <jeanpierreda@gmail.com>
First post2013-02-23 10:26 -0500
Last post2013-02-23 10:26 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#39673 — Re: Correct handling of case in unicode and regexps

FromDevin Jeanpierre <jeanpierreda@gmail.com>
Date2013-02-23 10:26 -0500
SubjectRe: Correct handling of case in unicode and regexps
Message-ID<mailman.2349.1361633248.2939.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web