re

 0    14 flashcards    sir
tải về mp3 In chơi tự kiểm tra
 
câu hỏi język polski câu trả lời język polski
Returns a list containing all matches
bắt đầu học
findall
Returns a Match object if there is a match anywhere in the string
bắt đầu học
search
Returns a list where the string has been split at each match
bắt đầu học
split
Replaces one or many matches with a string
bắt đầu học
sub
Every character from the set.
bắt đầu học
[]
"[a-m]"
Signals a special sequence (can also be used to escape special characters)
bắt đầu học
\
"\d"
Any character (except newline character)
bắt đầu học
.
"he... o"
Starts with
bắt đầu học
^
"^hello"
Ends with
bắt đầu học
$
"world$"
Zero or more occurrences
bắt đầu học
*
"aix*"
One or more occurrences
bắt đầu học
+
"aix+"
Exactly the specified number of occurrences
bắt đầu học
{}
"al{2}"
Either or
bắt đầu học
|
"falls|stays"
Capture and group
bắt đầu học
()

Bạn phải đăng nhập để đăng bình luận.