← Back to archive

Stdle #144 · regex · 2026-10-28

What does this Ruby snippet output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

puts /\d+/ === "abc123"
puts /\d+/ === "abcdef"
Regex
2 lines
4 attempts left

Answer & explanation