Closes #14250: regex.flags has not only explicit flags but also implicit flags and those from the pattern
Closes #14250: regex.flags has not only explicit flags but also implicit flags and those from the pattern

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator