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 the search is to start; it defaults to 0"

It turns out that re.IGNORECASE has the value
2.

Am I the only person bitten by this?

http://docs.python.org/lib/node115.html
http://docs.python.org/lib/re-objects.html

-myself

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to