myano / jenni

jenni was a python IRC bot. Project is closed. Try Sopel instead, https://sopel.chat/
https://sopel.chat/
Other
235 stars 101 forks source link

Seen no longer includes anything after first space #239

Closed J3RN closed 8 years ago

J3RN commented 8 years ago

"seen" used to include all characters. For example, ".seen J3RN " would search for "j3rn ". Also, ".seen not a real nick" would seach for "not a real nick". Now, the first example will search for "j3rn" and the latter for "not".

J3RN commented 8 years ago

@kaneda I switched from splitting on the default regex to a more specialized regex that only captures the first word. I hope this is what you were looking for.

kaneda commented 8 years ago

@J3RN that's great, ty. Test and squash it, then I'll merge down.

J3RN commented 8 years ago

@kaneda I've manually tested this. From what I can tell, there's no formal testing in this codebase (unless I'm missing something?).

Also squashed.

kaneda commented 8 years ago

Nope, that's it, thanks @J3RN