美文网首页
2019-10-21 Python正则表达

2019-10-21 Python正则表达

作者: YPCHEN1992 | 来源:发表于2019-10-21 15:46 被阅读0次
    1. 12个需转义的字符.
    backslash                  \   #反斜线 
    caret                      ^   # 锚定符
    dollar sign                $   # 美元符号
    dot                        .   # 点号
    pipe symbol                |   # 管道符
    question mark              ?   # 问号
    asterisk                   *   # 星号
    plus sign                  +   # 加号
    opening parenthesis        (   # 左括号
    Closing parenthesis        )   # 右括号
    Opening square bracket     [   # 左中括号
    The opening curly brace    {   # 左大括号
    
    1. Character classes 字符集

    相关文章

      网友评论

          本文标题:2019-10-21 Python正则表达

          本文链接:https://www.haomeiwen.com/subject/wsmtvctx.html