def cds():
 rebulk = Rebulk().regex_defaults(flags=re.IGNORECASE, abbreviations=[dash])
 rebulk.regex('cd-?(?P<cd>\\d+)(?:-?of-?(?P<cd_count>\\d+))?', validator={'cd': (lambda match: (0 < match.value < 100)), 'cd_count': (lambda match: (0 < match.value < 100))}, formatter={'cd': int, 'cd_count': int}, children=True, private_parent=True, properties={'cd': [None], 'cd_count': [None]})
 rebulk.regex('(?P<cd_count>\\d+)-?cds?', validator={'cd': (lambda match: (0 < match.value < 100)), 'cd_count': (lambda match: (0 < match.value < 100))}, formatter={'cd_count': int}, children=True, private_parent=True, properties={'cd': [None], 'cd_count': [None]})
 return rebulk

def cds ( ) : rebulk = Rebulk ( ) . regex_defaults ( flags = re . IGNORECASE , abbreviations = [ dash ] ) rebulk . regex ( 'cd-?(?P<cd>\\d+)(?:-?of-?(?P<cd_count>\\d+))?' , validator = { 'cd' : ( lambda match : ( 0 < match . value < 100 ) ) , 'cd_count' : ( lambda match : ( 0 < match . value < 100 ) ) } , formatter = { 'cd' : int , 'cd_count' : int } , children = True , private_parent = True , properties = { 'cd' : [ None ] , 'cd_count' : [ None ] } ) rebulk . regex ( '(?P<cd_count>\\d+)-?cds?' , validator = { 'cd' : ( lambda match : ( 0 < match . value < 100 ) ) , 'cd_count' : ( lambda match : ( 0 < match . value < 100 ) ) } , formatter = { 'cd_count' : int } , children = True , private_parent = True , properties = { 'cd' : [ None ] , 'cd_count' : [ None ] } ) return rebulk
builder for rebulk object .