In article <[EMAIL PROTECTED]>, Roy Smith <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>, > "Sam Pointon" <[EMAIL PROTECTED]> wrote: > > > Would this particular inconsistency be candidate for change in Py3k? > > Seems to me the pos and endpos arguments are redundant with slicing, > > and the re.match function would benefit from having the same arguments > > as pattern.match. Of course, this is a backwards-incompatible change; > > that's why I suggested Py3k. > > I don't see any way to implement re.I at match time; It's easy: just compile two machines, one with re.I and one without and package them as if they were one. Then use the flag to pick a compiled machine at run time. rg -- http://mail.python.org/mailman/listinfo/python-list