def get_fname_aug(testres, **kwargs):
    import re
    title_aug = testres.get_title_aug(**kwargs)
    valid_regex = '-a-zA-Z0-9_.() '
    valid_extra = '=,'
    valid_regex += valid_extra
    title_aug = title_aug.replace(' ', '_')
    fname_aug = re.sub((('[^' + valid_regex) + ']+'), '', title_aug)
    fname_aug = fname_aug.strip('_')
    return fname_aug
def get_fname_aug(testres, **kwargs):
    import re
    title_aug = testres.get_title_aug(**kwargs)
    valid_regex = '-a-zA-Z0-9_.() '
    valid_extra = '=,'
    valid_regex += valid_extra
    title_aug = title_aug.replace(' ', '_')
    fname_aug = re.sub((('[^' + valid_regex) + ']+'), , title_aug)
    fname_aug = fname_aug.strip('_')
    return fname_aug