utils.py 文件源码

python
阅读 42 收藏 0 点赞 0 评论 0

项目:idealoom 作者: conversence 项目源码 文件源码
def normalize_email_name(name):
    name = UnicodeDammit(name).unicode_markup
    # sanitize, keep only words, spaces and minimal punctuation
    # includes unicode apostrophes, though.
    name = re.sub(
        r"[^-\w\s'\u2019\u2032\u00b4\.\(\)]", '', name, 0, re.UNICODE)
    return name
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号