re module cant be two times? | SoloLearn: Learn to code for FREE!

0

re module cant be two times?

3/26/2020 10:09:52 AM

Saurabh Sen

10 Answers

New Answer

+5

To make it clear, i have put your code (slightly reworked) in a new file, and put some comments as explanations. https://code.sololearn.com/ctN9DA6ZNC2T/?ref=app

+5

Can you please make your question more precise? You can show us your code, results or whatever is needed to help you. And also give a tag what programming language you are talking about. Thank's.

+2

Saurabh Sen shouldn't the last lines be these? if mtch: print(mtch.span())

+2

Saurabh Sen I didnt understand the question :D

+1

maf i understood what you want to say but 😂i am asking about set variable

+1

match = re.search(pattern, "eggspamsausage") mtch = re.search(set,"djsaurabh") You already did re.search with 2 variables, ask Lothar he can help.

0

Lothar #python3 https://code.sololearn.com/cgWRdyp9hce0/?ref=app

0

Listen i am tring that → i want to use two re.search for two variables

0

Lothar hello lothar please help

0

Lothar i want to ask a question that how much time does java and javascript will take if i will give two hour a day to both the languages ?