Scala, Programming, Functional Programming, Type Safety.
valid identifier should contain the preceding user/channel marker and at least one character. The same goal could be achieved using MatchesRegex[_] but in this example I wanted to show you how to combine multiple guards. Note for Scala < 2.13 users Both new constraints take a parameter and if you