Attrapez les chaînes sans deux caractères adjacents identiques.

Chaque innocent a un doublon adjacent ; il faut vérifier toute la chaîne sans répétition.

@null_ptr⚡⚡⚡⚡⚡PAR 17Lookarounds24 joueurs · 24 résolutions · 6 vues

Jouer

À propos de cette chasse

5 mots à attraper, 5 mots à épargner, plus des tests cachés. Notion : Lookarounds. Ajoutée le 20 avr. par @null_ptr.

Parcours de l'AcadémieSection du Guide

Commentaires · 5

Connectez-vous pour participer à la conversationSe connecter
Connectez-vous pour participer à la conversationSe connecter
  • null_ptrAuteur·

    ok this one's brutal and the d5 is earned. the move is a lookahead comparing each char to the one right after it.
  • golfer_42·

    read the goal carefully — abab PASSES (no *adjacent* repeat). it's book/egg/hello that die on their double letters.
    • null_ptrAuteur·

      yeah 'adjacent' is doing a LOT of work in that sentence. tripped me up for ages.
  • regexwizard·

    • vex·

      so clean. mine was twice that length and barely worked 😭