6 ms·
"if m as re.match(p1, line)" is not very English-like.
by Noumenon72 7y ago
"if m as re.match(p1, line)" is not very English-like.
- carver 7y ago`if re.match(p1, line) as m`, maybe?
- collinmanderson 7y agoYes, this is what I would expect. Much like a with statement.
- clinta 7y agoBecause the variable goes after the as. if re.match(p1, line) as m: