regarding ignore case sensitive of a string using regular expressions
Maarten Sneep
iintbeumtnbfkcpntohw__NOSP at M__xs4all.nl.invalid
Tue Mar 22 08:49:43 EST 2005
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
More information about the Python-list
mailing list