- 5

Drag and drop from the options below to print the starting and ending positions of the match. import pattern = r"test" match

Drag and drop from the options below to print the starting and ending positions of the match. import pattern = r"test" match = re.search(pattern, "some test") print(match.) print(match.)

16th Jul 2020, 5:08 AM
Erwin Sujana
Erwin Sujana - avatar
4 Answers
+ 4
Drag and drop from the options below to print the starting and ending positions of the match. import pattern = r"test" match = re.search(pattern, "some test") print(match.______) print(match.______) ans : re start() end()
30th Nov 2020, 2:11 AM
Fransiskus Mitan
Fransiskus Mitan - avatar
+ 3
Abdiel Rivas its import RE not REG
1st Dec 2020, 9:55 AM
pro gaming ak
pro gaming ak - avatar
0
import reg pattern = r"test" match = re.search(pattern, "some test") print(match.start()) print(match.end())
3rd Nov 2020, 8:11 PM
Abdiel Rivas
Abdiel Rivas - avatar
- 4
Erwin Sujana Review the previous lessons and solve your problem.
16th Jul 2020, 6:01 AM
A͢J
A͢J - avatar