2 ms·
It' a problem with re module really. re.match should return a match object no matter what, and .group() should return strings, empty string if non were matched
by est 8y ago
It' a problem with re module really.
re.match should return a match object no matter what, and .group() should return strings, empty string if non were matched.
- eesmith 8y agoI don't see how that would improve things. Could you sketch a solution based around your ideas?