JavaChat / OakBot

A Java-based chat bot for Stackoverflow Chat
46 stars 32 forks source link

Start of sentence/message matching #55

Closed LunarWatcher closed 3 years ago

LunarWatcher commented 3 years ago

First commit: https://regex101.com/r/VKdp7E/3

Second commit: https://regex101.com/r/VKdp7E/4

Feel free to cherry pick one

mangstadt commented 3 years ago

Thanks Zoe! Can you update the unit test as well?

LunarWatcher commented 3 years ago

I haven't tested whether it works or not - don't have a Java toolchain set up atm ^^"

mangstadt commented 3 years ago

Doesn't it take mentions and replies into account? The unit test should test for this.