Example for recurring pattern matching
Added failure example