#NEWLINE# def get_regexp( self ) : #NEWLINE# #INDENT# ' Returns the regular expression for matching this particular\n        urls_sugar element.\n        ' #NEWLINE# regexp_prefix = ( ( self . name + ':' ) if self . unambiguous else '' ) #NEWLINE# repeat = ( '%d,%s' % ( ( self . min - 1 ) , ( str ( self . max ) if ( self . max > 0 ) else '' ) ) ) #NEWLINE# regexp_suffix = ( ( '(%s%s){%s}' % ( self . separator , repeat . regexp , repeat ) ) if self . separator else '' ) #NEWLINE# return ( '%s(?P<%s>%s%s)' % ( regexp_prefix , self . name , self . regexp , regexp_suffix ) )