#NEWLINE# def Search( self , text ) : #NEWLINE# #INDENT# 'Search the text for our value.' #NEWLINE# if isinstance ( text , rdfvalue . RDFString ) : #NEWLINE# #INDENT# text = str ( text ) #NEWLINE# #UNINDENT# return self . _regex . search ( text )