【教程】详解Python正则表达式
crifan 13年前 (2012-11-20) 7351浏览 5评论
根据Python手册中的每个特殊字符(special characters),特殊序列(special sequences),标志(flags),分别做详细的解释。 特殊字符(special characters): 【教...
all regular expression related, include C#/Python/Java/PHP/Javascript/Notepad++/ …..
crifan 13年前 (2012-11-20) 7351浏览 5评论
根据Python手册中的每个特殊字符(special characters),特殊序列(special sequences),标志(flags),分别做详细的解释。 特殊字符(special characters): 【教...
crifan 13年前 (2012-11-20) 13566浏览 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) 4191浏览 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) 5261浏览 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) 6199浏览 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) 3686浏览 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) 7576浏览 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) 4479浏览 0评论
Python 2.7的手册中的官方解释为: '.' (Dot.) In the default mode, this matches any character except a newline. If the DOTALL fl...
crifan 13年前 (2012-11-19) 4280浏览 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) 3882浏览 0评论
Python 2.7的手册中的官方解释为: '^' (Caret.) Matches the start of the string, and in MULTILINE mode also matches immediately after ea...