By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,965 Members | 1,779 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,965 IT Pros & Developers. It's quick & easy.

regarding ignore case sensitive of a string using regularexpressions

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.