Case insensitive re.sub()

Timothy Grant tjg at exceptionalminds.com
Tue Feb 20 18:42:48 EST 2001


Hi all,

I am working on a little project where it would be really nice
to be able to do a case insensitive re.sub(). It appears that
re.sub() does not allow a flags argument. Is it possible, or do
I have to roll my own?

Thanks.

-- 
Stand Fast,
    tjg.

Timothy Grant                         tjg at exceptionalminds.com
Red Hat Certified Engineer            www.exceptionalminds.com
Avalon Technology Group, Inc.                   (503) 246-3630
>>>>>>>>>>>>>Linux, because rebooting is *NOT* normal<<<<<<<<<
>>>>This machine was last rebooted:  35 days  3:54 hours ago<<




More information about the Python-list mailing list