Add support re.Pattern[str]
to pattern
field
#9053
Merged
re.Pattern[str]
to pattern
field
#9053