KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
When I run this code: print re.search(r'1', '1').groups() I get a result of () . However, .group(0) gives me the match. Shouldn't groups() give me something containing the match?
Tags (comma-separated)
Save Edits
Cancel