【教程】详解Python正则表达式
crifan 13年前 (2012-11-20) 7355浏览 5评论
根据Python手册中的每个特殊字符(special characters),特殊序列(special sequences),标志(flags),分别做详细的解释。 特殊字符(special characters): 【教...
crifan 13年前 (2012-11-20) 7355浏览 5评论
根据Python手册中的每个特殊字符(special characters),特殊序列(special sequences),标志(flags),分别做详细的解释。 特殊字符(special characters): 【教...
crifan 13年前 (2012-11-20) 13569浏览 0评论
Python 2.7的官方手册中的解释是: \s When the LOCALE and UNICODE flags are not specified, matches any whitespace character; this is equ...
crifan 13年前 (2012-11-20) 4196浏览 0评论
Python 2.7的官方手册中的解释是: \s When the LOCALE and UNICODE flags are not specified, matches any whitespace character; this is equ...
crifan 13年前 (2012-11-20) 5266浏览 0评论
Python 2.7官方手册中的解释是: re.L re.LOCALE Make \w, \W, \b, \B, \s and \S dependent on the current locale. 下面就来详细解释一下其含义: 1.re....
crifan 13年前 (2012-11-20) 6204浏览 0评论
Python 2.7手册中的官方解释是: re.U re.UNICODE Make \w, \W, \b, \B, \d, \D, \s and \S dependent on the Unicode character properties...
crifan 13年前 (2012-11-19) 51169浏览 3评论
都差点忘了说了,在看下面所有的内容之前,对于python版本不了解的,请一定先看看这个: 【整理】总结Python2(Python 2.x版本)和Python3(Python 3.x版本)之间的区别 然后根据情况,选择自己需要的python版本,然...
crifan 13年前 (2012-11-19) 3690浏览 0评论
Python 2.7手册中的官方解释为: [] Used to indicate a set of characters. Characters can be listed individually, or a range of charact...
crifan 13年前 (2012-11-19) 7580浏览 0评论
Python 2.7手册中的官方解释为: '$' Matches the end of the string or just before the newline at the end of the string, and in MULTILIN...
crifan 13年前 (2012-11-19) 4284浏览 0评论
Python 2.7的手册中的官方解释为: '*' Causes the resulting RE to match 0 or more repetitions of the preceding RE, as many repetitions a...
crifan 13年前 (2012-11-19) 4486浏览 0评论
Python 2.7的手册中的官方解释为: '.' (Dot.) In the default mode, this matches any character except a newline. If the DOTALL fl...