← Back to archive

Stdle #36 · regex · 2026-07-12

What does this Ruby snippet output?

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

puts "hello world".match?(/\d/)
puts "hello world".match?(/\w/)
Regex
2 lines
4 attempts left

Answer & explanation