#NEWLINE# def find_route( self , path ) : #NEWLINE# #INDENT# for route in self . routes : #NEWLINE# #INDENT# match = re . search ( route . regex_pattern , route ) #NEWLINE# if match : #NEWLINE# #INDENT# return route #NEWLINE# #UNINDENT# #UNINDENT# return None