>_ IzzyLab

Topic breakdown

Ordinary quantifiers describe the shape of a match but can't require "the same value again" — that needs parenthesized groups and backreferences. A group remembers the specific matched text, and a reference like \1 requires it to repeat further along the line — so it catches a duplicated word rather than any two words in a row. Word boundaries \b guard against false positives inside longer words; all of this is available in grep -E.

What's checked

  1. Lines with repeats found
  2. Extra lines filtered out

What it looks like