Re: Correct handling of case in unicode and regexps

Discussion in 'Python' started by Devin Jeanpierre, Feb 23, 2013.

  1. On Sat, Feb 23, 2013 at 10:11 AM, Vlastimil Brom
    <> 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
    Devin Jeanpierre, Feb 23, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Devin Jeanpierre
    Replies:
    1
    Views:
    91
    jmfauth
    Feb 24, 2013
  2. Vlastimil Brom
    Replies:
    0
    Views:
    64
    Vlastimil Brom
    Feb 23, 2013
  3. Devin Jeanpierre
    Replies:
    0
    Views:
    60
    Devin Jeanpierre
    Feb 23, 2013
  4. MRAB
    Replies:
    0
    Views:
    57
  5. Devin Jeanpierre
    Replies:
    0
    Views:
    68
    Devin Jeanpierre
    Feb 23, 2013
Loading...

Share This Page