re

 0    14 词汇卡    sir
下载mp3 打印 检查自己
 
问题 język polski 答案 język polski
Returns a list containing all matches
开始学习
findall
Returns a Match object if there is a match anywhere in the string
开始学习
search
Returns a list where the string has been split at each match
开始学习
split
Replaces one or many matches with a string
开始学习
sub
Every character from the set.
开始学习
[]
"[a-m]"
Signals a special sequence (can also be used to escape special characters)
开始学习
\
"\d"
Any character (except newline character)
开始学习
.
"he... o"
Starts with
开始学习
^
"^hello"
Ends with
开始学习
$
"world$"
Zero or more occurrences
开始学习
*
"aix*"
One or more occurrences
开始学习
+
"aix+"
Exactly the specified number of occurrences
开始学习
{}
"al{2}"
Either or
开始学习
|
"falls|stays"
Capture and group
开始学习
()

您必须登录才能发表评论。