468,771 Members | 1,925 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,771 developers. It's quick & easy.

regarding ignore case sensitive of a string using regularexpressions

Dear All
In Perl when we are checking some conditions
using regular expression we can ignore the case
sensitive of a string using the following regular
expression /(^[^a-z])|/|(\.\.)/i.
But If I try to do this in Python I couldn't get
any result.
So Any body know regarding this Kindly mail me
with example.

regards
Prabahar
__________________________________________________ ______________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
Jul 18 '05 #1
1 1864
Mosas wrote:
In Perl when we are checking some conditions
using regular expression we can ignore the case
sensitive of a string using the following regular
expression /(^[^a-z])|/|(\.\.)/i.
But If I try to do this in Python I couldn't get
any result.
So Any body know regarding this Kindly mail me
with example.


RTFM: http://www.python.org/doc/2.3.4/lib/re-syntax.html
(What you want is described under the (?iLmsux) heading)
or http://www.python.org/doc/2.3.4/lib/node106.html

Maarten
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

32 posts views Thread by Elliot Temple | last post: by
2 posts views Thread by Matthew Louden | last post: by
2 posts views Thread by J. Muenchbourg | last post: by
17 posts views Thread by Tom | last post: by
3 posts views Thread by Michel Esber | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.