Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defn ids [text]
- (map last
- (re-seq #"@(\w+)"
- (first (re-find #"^(to )?(<@\w+\|[\w ]+>(?:(,| and) )?)+" text)))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement