def rjust(s,n,fillchar=' '):
    no_ascii_list = re.findall(r'[^\x00-\x7F]+', s)
    ln = len(''.join(no_ascii_list))
    return s.rjust(n-ln, fillchar)
dataset/ETHPy150Open sk1418/zhuaxia/zhuaxia/util.py/rjust/original