re module -- case insensitive matching.

Roy Smith roy at popmail.med.nyu.edu
Tue Jan 25 15:20:28 EST 2000


Is there any difference between:

re.compile ('[a-zA-Z]*')

and

re.compile ('[a-z]*', re.I)

other than notation, i.e. are the state machines that get built 
identical in either case?



More information about the Python-list mailing list