Hacker News new | ask | show | jobs
by est 2906 days 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.

1 comments

I don't see how that would improve things. Could you sketch a solution based around your ideas?