Какой метод ищет первое совпадение шаблона pattern в строке string?

Модуль re

Quiz
•
Юлия Бажина
•
Other
•
9th - 12th Grade
•
1 plays
•
Medium
Student preview

5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
re.search(pattern, string, flags=0)
re.match(pattern, string, flags=0)
re.findall(pattern, string, flags=0)
re.sub(pattern, replacement, string, count=0, flags=0)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой метод ищет все совпадения шаблона pattern в строке string.
re.match(pattern, string, flags=0):
re.finditer(pattern, string, flags=0)
re.compile(pattern, flags=0):
re.findall(pattern, string, flags=0):
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой метод ищет совпадение шаблона в начале строки?
re.compile(pattern, flags=0):
re.findall(pattern, string, flags=0)
re.search(pattern, string, flags=0):
re.match(pattern, string, flags=0):
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой метод заменяет все совпадения шаблона в строке на определенный текст?
re.finditer(pattern, string, flags=0):
re.sub(pattern, replacement, string, count=0, flags=0):
re.compile(pattern, flags=0):
re.findall(pattern, string, flags=0):
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой метод ищет все совпадения шаблона в строке?
re.findall(pattern, string, flags=0):
re.finditer(pattern, string, flags=0):
re.compile(pattern, flags=0):
re.sub(pattern, replacement, string, count=0, flags=0):
Similar Resources on Quizizz
10 questions
Water Safety

Quiz
•
1st Grade - University
10 questions
Roller coasters

Quiz
•
KG - University
10 questions
JavaScript Test 1: Shapes and Printing

Quiz
•
2nd - 9th Grade
10 questions
bài kiểm tra

Quiz
•
11th - 12th Grade
10 questions
Pensamento Computacional 9EF - Recuperação Simulado 2

Quiz
•
9th Grade
10 questions
Daily Quiz (28.12.2020)

Quiz
•
5th Grade - Professio...
8 questions
RNLI Sea Safety Quiz

Quiz
•
9th Grade
10 questions
Python RegEx

Quiz
•
12th Grade
Popular Resources on Quizizz
39 questions
Respect and How to Show It

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
Discover more resources for Other
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade
20 questions
EOC Math 1 Review

Quiz
•
9th Grade
20 questions
Insurance

Quiz
•
9th - 12th Grade
20 questions
Act 1 of Romeo and Juliet

Quiz
•
9th Grade
20 questions
Common Grammar Mistakes

Quiz
•
7th - 12th Grade
20 questions
Paying for College

Quiz
•
9th - 12th Grade