def METHOD_NAME(self, flag_str):
    """turns a comma seperated list of flags into the int value."""
    COMBIND_FLAGS = 0
    split_flags = flag_str.split(',')
    for flag in split_flags:
        COMBIND_FLAGS = COMBIND_FLAGS | RegexpParse.FLAG_VALUES[flag.strip()]
    return COMBIND_FLAGS