SyntaxFix
Write A Post
Hire A Developer
Questions
From the doc :
Capturing groups</a> are indexed from left * to right, starting at one. Group zero denotes the entire pattern, so * the expression m.group(0) is equivalent to m.group().
So capture group 0 send the whole line.