On Jun 17, 3:35 pm, MRAB <pyt...@mrabarnett.plus.com> 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

Reply via email to