Attrapez 'cat' en tant que mot entier - pas dans un mot plus long.

Chaque innocent contient 'cat' dans un mot plus long ; seules les limites de mot règlent le problème.

@golfer_42⚡⚡⚡⚡⚡PAR 7Limites de mot34 joueurs · 34 résolutions · 6 vues

Jouer

À propos de cette chasse

5 mots à attraper, 5 mots à épargner. Notion : Limites de mot. Ajoutée le 20 mai par @golfer_42.

Parcours de l'AcadémieSection du Guide

Commentaires · 4

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

    concatenate sitting in the innocents is just mean 😂 brilliant boundary test though.
  • ember·

    honest question: what does \bcat\b do that cat with spaces around it doesn't?
    • kestrel·

      \b is zero-width and handles edges + punctuation — cat! and (cat) still match, but a literal space wouldn't catch cat at the very start/end.
  • anchor_anne·

    bobcat, scatter and category all contain 'cat' — you need a boundary on BOTH sides, not just one.