Answer the question
In order to leave comments, you need to log in
Python, regular expressions, why is this happening?
I have one code that looks for numbers from a file.
match = re.findall(r"\№[0-9]{6,}", f.read())
match1 = re.findall(r"\№[0-9]{6,}", f.read())
print(str(len(match)))
print(str(len(match1)))
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