def AddSearchProperties(self, **searchProperties) -> None:
self.searchProperties.update(searchProperties)<EOL>if '<STR_LIT>' in searchProperties:<EOL><INDENT>self.searchDepth = searchProperties['<STR_LIT>']<EOL><DEDENT>if '<STR_LIT>' in searchProperties:<EOL><INDENT>regName = searchProperties['<STR_LIT>']<EOL>self.regexName = re.compile(regName) if regName else None<EOL><DEDENT>
Add search properties using `dict.update`.
searchProperties: dict, same as searchProperties in `Control.__init__`.