美文网首页
【The Java™ Tutorials】【Regular Ex

【The Java™ Tutorials】【Regular Ex

作者: Ppian | 来源:发表于2018-03-23 16:21 被阅读0次
    Construct Description
    . Any character (may or may not match line terminators)
    \d A digit: [0-9]
    \D A non-digit: [^0-9]
    \s A whitespace character: [ \t\n\x0B\f\r]
    \S A non-whitespace character: [^\s]
    \w A word character: [a-zA-Z_0-9]
    \W A non-word character: [^\w]

    相关文章

      网友评论

          本文标题:【The Java™ Tutorials】【Regular Ex

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