Re: Question on re.IGNORECASE

2005-10-20 Thread chemag
Thanks for your help. -myself -- http://mail.python.org/mailman/listinfo/python-list

Re: Question on re.IGNORECASE

2005-10-20 Thread chemag
OK, I got it. - The re module search function syntax is: search( pattern, string[, flags]) where re.IGNORECASE is a valid flag. - The RE Object search method syntax is: search( string[, pos[, endpos]]) where "The optional second parameter pos gives an index in the string where

Question on re.IGNORECASE

2005-10-20 Thread chemag
Hi, I'm having some problems with basic RE in python. I was wondering whether somebody could provide a hint on what's going wrong with the following script. Comments are included. TIA. -myself > python2.3 Python 2.3.4 (#1, Nov 18 2004, 13:39:30) [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-39)] on l