def __init__(self, n_max=5, split_tokens=('-', '/')):
    CandidateSpace.__init__(self)
    self.n_max = n_max
    self.split_rgx = ((('(' + '|'.join(split_tokens)) + ')') if (split_tokens and (len(split_tokens) > 0)) else None)
def __init__(self, n_max=5, split_tokens=('-', '/')):
    CandidateSpace.__init__(self)
    self.n_max = n_max
    self.split_rgx = ((('(' + '|'.join(split_tokens)) + ')') if (split_tokens and (len(split_tokens) > 0)) else None)