Welcome to the eleventh codegolf challenge! For this one, I'm trying something a little different. You will be given a long string, and there may or may not be an emoticon in it. Unfortunately, I've been diagnosed with prosopagnosia! This means that I can't find faces. You have to scan the text to determine whether any of these emoticons is in it: :) :D ;) :( (: ): D: Output as "true" or "false". Test cases: abcdefgh:a) -> false ::::Dawjefoij -> true ;( -> true awefhiu:::::::awefjioDD);qwerty -> true You may also detect :d and d: if needed.
Inspired by this: https://codegolf.stackexchange.com/questions/206600/is-there-a-face-in-this-image @bunnyCoder16, 7 blocks: https://scratch.mit.edu/projects/713425806/ @Zerofile, 7 blocks: https://scratch.mit.edu/projects/412506589/ @_-PJN-_, 7 blocks: https://scratch.mit.edu/projects/412506069/ @photopolaraccoustic, 7 blocks: https://scratch.mit.edu/projects/412526581/ @carot3, 7 blocks: https://scratch.mit.edu/projects/412638927/ , 8 blocks: , 9 blocks: , 9 blocks: , 10 blocks: , 22 blocks: , 14 blocks, nonterminating: , 17 blocks: , 24 blocks: , 21 blocks: , 9 blocks: , 12 blocks (could be 10): , 10 and 7: