Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Check if a message mentions a given nickname.
This isn't the same as substring search, since the nickname could appear inside a longer word. For example, "ron" isn't really mentioned in "asynchronic". Therefore, this function is a bit smarter about this, trying to capturing real mentions, and works quite well in practice.