[docs] [issue14250] for string patterns regex.flags is never equal to 0

Georg Brandl report at bugs.python.org
Wed Mar 14 07:58:20 CET 2012

Georg Brandl <georg at python.org> added the comment:

There is even more wrongness here: if you give flags inline in the pattern, they also show up in .flags (since they are global, at least in the current implementation).  Suggested patch attached.

keywords: +patch
nosy: +georg.brandl
Added file: http://bugs.python.org/file24840/regexflags.patch

Python tracker <report at bugs.python.org>

More information about the docs mailing list