On Jun 17, 3:35 pm, MRAB <[email protected]> wrote: > > >>> import re > >>> r = re.compile('^abc$', re.I) > >>> r.pattern > '^abc$' > >>> r.flags > 2
Hey, thanks. It works. Couldn't find it in a reference somehow. And it's not in the inspect.getmembers(r). Must be doing something wrong..... -- Cheers, Dmitry -- http://mail.python.org/mailman/listinfo/python-list
