SRE: stricter pattern syntax checking (covers parts of bug #115900)
SRE: stricter pattern syntax checking (covers parts of bug #115900)

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