Answer the question
In order to leave comments, you need to log in
The re.match(pattern, string) function doesn't see pattern as input?
I create a string s="r"regular""
I search for result=re.match(s,string) It
swears that there is a string at the input
I tried like this through compile
prog = re.compile(s)
result = prog.match(string)
But also does not search or does not see the line as it should, what am I doing wrong?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question