ffao / Shiro

Helper bot for games in puzzling.stackexchange.com chat
MIT License
5 stars 6 forks source link

Regex option #19

Closed boboquack closed 7 years ago

boboquack commented 7 years ago

Spaces break on messages like THIS

(note: I don't know why)

ffao commented 7 years ago

This change probably won't accomplish what you want to do, so I have to decline (this is related to the way re.match works in Python).

Even if it were correct code I think I would still decline, though. Not requiring the bold words to be by themselves opens a whole can of worms -- what if someone writes [pass], for instance?