#NEWLINE# @ property #NEWLINE# def housenumber( self ) : #NEWLINE# #INDENT# if self . address : #NEWLINE# #INDENT# expression = '\\d+' #NEWLINE# pattern = re . compile ( expression ) #NEWLINE# match = pattern . search ( self . address ) #NEWLINE# if match : #NEWLINE# #INDENT# return int ( match . group ( 0 ) )